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

Serge Hallyn serge.hallyn at ubuntu.com
Wed Aug 14 15:05:42 UTC 2013


Quoting brian mullan (bmullan.mail at gmail.com):
> AAlso... just tried this, completely removed LXC and reinstalled it.
> 
> $ sudo apt-get purge lxc
> 
> $ sudo apt-get install lxc
> 
> then created a container
> 
> $ sudo lxc-create -t ubuntu -n my_cn1
> 
> $ sudo lxc-start -n my_cn1
> 
> after logging into the container I shut it down without doing anything else
> in the container
> 
> $ sudo shutdown -h now

I tried this on a fresh raring instance with btrfs backing store and
couldn't reproduce it.

Can you show what kernel you're running?  When you log into the
container, I assume that 'ifconfig -a' and 'ps -ef' confirm that
you are in both fresh pid and net namespaces?




More information about the lxc-users mailing list