Ok,
 absolutely the last post tonight. I promise.

I fixed the find /var/run -exec rm -f {} command in rc.sysinit.

Now the problem is that the runlevel is written whilst things are
still shutting down;

/lxc/test01.dev.tradefair/rootfs/var/run/utmp MODIFY 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp CLOSE_WRITE,CLOSE 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp OPEN 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp ACCESS 
/lxc/test01.dev.tradefair/rootfs/var/run/utmp CLOSE_NOWRITE,CLOSE 
      lxc-start 1275416907.960 DEBUG    lxc_utmp - utmp handler fired
      lxc-start 1275416907.960 DEBUG    lxc_utmp - run level is 3/0
      lxc-start 1275416907.960 DEBUG    lxc_utmp - there is 13 tasks
remaining

By the time I can cat /cgroup/<machine name>/tasks there's only one
left, but when the MODIFY fires there are still tasks shutting down. 

Rather annoying after all that, looks like I'll have to find another
way. 

Andy

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.

------------------------------------------------------------------------------

_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to