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

Saint Michael venefax at gmail.com
Fri Nov 13 15:30:26 UTC 2015


Good question. I always use lxc-stop

On Fri, Nov 13, 2015 at 9:29 AM, Alex Mestiashvili <
alex at biotec.tu-dresden.de> wrote:

> 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!
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20151113/5888df82/attachment.html>


More information about the lxc-users mailing list