=sys-cluster/vzctl-4.1.1 has call 'rm /' at /etc/init.d/vz reboot because of VZREBOOTDIR not defined.
Kir ( upstream ) commit patch to fix this bug. Please add this patch in tree ASAP. diff --git a/etc/init.d/vz-gentoo.in b/etc/init.d/vz-gentoo.in index 05ef4e7..2dd2186 100755 (executable) --- a/etc/init.d/vz-gentoo.in +++ b/etc/init.d/vz-gentoo.in @@ -17,6 +17,7 @@ check_config() { : ${VZVEINFO:=/proc/vz/veinfo} : ${VESTAT:=/proc/vz/vestat} : ${VPSCONFDIR:=@VPSCONFDIR@} + : ${VZREBOOTDIR:=@VZREBOOTDIR@} : ${VZDEV:=venet0} : ${VZCONF:=@PKGCONFDIR@/vz.conf} : ${VE_STOP_MODE:=suspend}
Yikes. Patch committed. *vzctl-4.1.1-r1 (29 Dec 2012) 29 Dec 2012; Mike Gilbert <floppym@gentoo.org> +vzctl-4.1.1-r1.ebuild, -vzctl-4.1.1.ebuild: Revbump for last change. 29 Dec 2012; Mike Gilbert <floppym@gentoo.org> +files/vzctl-4.1.1-VZREBOOTDIR.patch, vzctl-4.1.1.ebuild: Add patch for init script, bug 449110 by slepnoga.