[lxc-devel] patch to fix up utmp handling in utmp.c

atp Andrew.Phillips at lmax.com
Mon Jun 7 08:32:16 UTC 2010


Hello,

  This patch changes the way utmp is handled to be far more robust. It
allows shutdown for fedora core 12, by instigating a timer once the
shutdown is noticed in utmp to check the number of tasks remaining, as
well as allowing the /var/run/utmp file to be deleted and remade (for
example during boot). Depending on whats in the run levels it will
enable container shutdown and reboot on a wider range of container 
operating systems. 

  Theres a one line fix to lxc.spec.in as well, as a recent patch to 
move lxc-init out of libexec broke "make rpm".
 
Signed-off-by: Andy Phillips <atp at lmax.com>

Andrew Phillips
Head of Systems

www.lmax.com 

Office: +44 203 1922509
Mobile: +44 (0)7595 242 900

LMAX | Level 2, Yellow Building | 1 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: utmp.c.diff
Type: text/x-patch
Size: 8735 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20100607/9b5ff308/attachment.bin>


More information about the lxc-devel mailing list