<div dir="ltr"><div class="gmail_default" style="font-size:small">Good question. I always use lxc-stop<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 13, 2015 at 9:29 AM, Alex Mestiashvili <span dir="ltr"><<a href="mailto:alex@biotec.tu-dresden.de" target="_blank">alex@biotec.tu-dresden.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
Is there a way to properly shutdown Jessie container on a Wheezy host ?<br>
lxc version is 0.8.0~rc1-8+deb7u2<br>
<br>
lxc-shutdown -n $host which is basically<br>
<br>
chroot /var/lib/lxc/${_CONTAINER}/rootfs telinit 0<br>
<br>
ends up in:<br>
<br>
"telinit: timeout opening/writing control channel /run/initctl"<br>
<br>
with no change to the host.<br>
<br>
Of course I can ssh/console to the container, run shutdown and then use<br>
lxc-stop to kill it, but may be there is a workaround for a direct<br>
shutdown ?<br>
<br>
Thank you!<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br></div>