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

Serge E. Hallyn serge.hallyn at canonical.com
Tue Dec 7 14:17:16 UTC 2010


Quoting Trent W. Buck (twb at cybersource.com.au):
> "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).

Yup, makes sense of course.

-serge




More information about the lxc-users mailing list