Re: [Lxc-users] On clean reboot of Ubuntu 10.04 containers

2010-12-06 Thread Trent W. Buck
Trent W. Buck writes: This post describes my attempts to get clean shutdown of Ubuntu 10.04 containers. The goal here is that a shutdown -h now of the dom0 should not result in a potentially inconsistent domU postgres database, cf. a naive lxc-stop. As this is largely working for me, I have

Re: [Lxc-users] On clean reboot of Ubuntu 10.04 containers

2010-12-06 Thread Brian K. White
On 12/6/2010 3:01 AM, Trent W. Buck wrote: Trent W. Buck writes: This post describes my attempts to get clean shutdown of Ubuntu 10.04 containers. The goal here is that a shutdown -h now of the dom0 should not result in a potentially inconsistent domU postgres database, cf. a naive

Re: [Lxc-users] On clean reboot of Ubuntu 10.04 containers

2010-12-06 Thread Trent W. Buck
Brian K. White br...@aljex.com writes: On 12/6/2010 3:01 AM, Trent W. Buck wrote: Trent W. Buck writes: This post describes my attempts to get clean shutdown of Ubuntu 10.04 containers. The goal here is that a shutdown -h now of the dom0 should not result in a potentially inconsistent domU

Re: [Lxc-users] On clean reboot of Ubuntu 10.04 containers

2010-12-06 Thread Trent W. Buck
I rewrote my init script, too, and now I'm pretty happy. Example interactions below. In the second case, I've dialled the timeout down to 2s to simulate hung containers. r...@omega:~# /etc/init.d/lxc restart Stopping LXC containers: krb-client failed! Killing LXC containers: kdc