Hi,

The way it works on 0.7 was always a stopgap - there does not seem to be
a clean way of doing it that bridges both sysv init and upstart. The
ideal thing would be to intercept the reboot() syscall. The clean way
would be in the kernel. The nasty way would be via LD_PRELOAD or other
tricks. The nasty way obviously gets mired in being compatible with
the container libraries. 

Andy

On Mon, 2010-12-06 at 10:32 -0600, Serge E. Hallyn wrote:
> Quoting Trent W. Buck ([email protected]):
> > 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.
> 
> thanks,
> -serge
> 
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly 
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus 
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Lxc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lxc-users

-- 
Andrew Phillips
Head of Systems

Direct: +44 (0)203 192 2509
Mobile: +44 (0)7595 242 900

LMAX, Yellow Building, 1A Nicholas Road,  London, W11 4AN



The information in this e-mail and any attachment is confidential and is 
intended only for the named recipient(s). The e-mail may not be disclosed or 
used by any person other than the addressee, nor may it be copied in any way. 
If you are not a named recipient please notify the sender immediately and 
delete any copies of this message. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden. Any view or 
opinions presented are solely those of the author and do not necessarily 
represent those of the company.

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to