[Lxc-users] On clean shutdown of Ubuntu 10.04 containers

Trent W. Buck twb at cybersource.com.au
Mon Dec 6 23:43:55 UTC 2010


"Serge E. Hallyn" <serge.hallyn at canonical.com>
writes:

> Quoting Trent W. Buck (twb at cybersource.com.au):
>> Unfortunately, lxc 0.7's utmp detect requires /var/run to NOT be a
>> tmpfs.  The shipped lxc-ubuntu script works around this by deleting the
>> ifstate file and not mounting a tmpfs on /var/run, but to me that is
>> simply waiting for something else to assume /var/run is empty.  It also
>> doesn't cope with a mountall upgrade rewriting /lib/init/fstab.
>
> Note that how to handle clean shutdown is one of the open topics.
> So if you're interested in helping to properly fix that, please
> feel free to join our development call this coming thursday morning,
> as per announcement last week :)
>
> IIRC Daniel L. had a kernel patch to help fix this workaround?  He
> was experimenting with it at UDS-N.

Sure, but I feel safer patching container's userland than the production
server's kernel, so for me the "right" fix will need to wait until April
2012 (the next Ubuntu LTS).





More information about the lxc-users mailing list