[lxc-users] properly shutdown jessie container on wheezy host

Alex Mestiashvili alex at biotec.tu-dresden.de
Fri Nov 13 14:29:22 UTC 2015


Hi All,

Is there a way to properly shutdown Jessie container on a Wheezy host ?
lxc version is 0.8.0~rc1-8+deb7u2

 lxc-shutdown -n $host  which is basically

 chroot /var/lib/lxc/${_CONTAINER}/rootfs telinit 0

ends up in:

"telinit: timeout opening/writing control channel /run/initctl"

with no change to the host.

Of course I can ssh/console to the container, run shutdown and then use
lxc-stop to kill it, but may be there is a workaround for a direct
shutdown ?

Thank you!


More information about the lxc-users mailing list