[Lxc-users] Running sudo shutdown -h now in container causes host to freeze/crash

brian mullan bmullan.mail at gmail.com
Tue Aug 13 16:06:50 UTC 2013


I've been having this problem for a while now.   To get away from it I
actually did a sudo apt-get purge lxc
then reinstalled LXC but now the same problem is back again.

System:  ubuntu 13.04 desktop

I create a container:
*sudo lxc-create -t ubuntu -n my_cn*

start it
*sudo lxc-start -n my_cn*

*login*
add a desktop environment
*sudo apt-get install lxde*

I also add a remote desktop config to the container so I can access the
desktop from the host
(I use x2go but I've also used vnc and others).

remote desktop from host always works!

but when I am done I exit the remote desktop session which kills that
session in the container

I get back into the terminal session with the container and tell it to
shutdown:

*sudo shutdown -h now*

everything looks normal as the container shutsdown except it never returns
to the Host command prompt in the terminal

At that point if I try to click on anything on the host (like start a 2nd
terminal or start a browser)...

That 1st app on the host starts but then the entire Host freezes solid.

No mouse, no keyboard, no activity and the only thing left to do is a hard
reset.

Any ideas of how I can troubleshoot this?  or what might be happening?
I've been using LXC for a long time
and I've not had this happen before.

thanks
brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130813/96e1139d/attachment.html>


More information about the lxc-users mailing list