This doesn't happen with an oneiric container, nor with a trimmed lucid container.
The difference between the two is /etc/init/ssh.conf. In lucid it has 'stop on runlevel S' In oneiric it is 'stop on runlevel [!2345]', and trimming a container (with the '-x' option to lxc-create) does the same thing. I'm going to momentarily assign this to Clint so he can verify for me that there is no way we would SRU a patch for ssh in lucid to change its 'stop on'. Assuming he confirms that, we'll have to find a clever way for lxcguest to force ssh to stop anyway. ** Changed in: lxc (Ubuntu) Assignee: (unassigned) => Clint Byrum (clint-fewbar) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/820715 Title: sudo poweroff -n within a container just hangs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/820715/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs