Re: [lxc-devel] [PATCH] Watch utmp if /var/run is not shared

2011-02-28 Thread Ward, David - 0663 - MITLL
The two variables I added have misleading names. I will fix these, clarify the commit message, and resend shortly. David On 02/28/2011 07:08 PM, Ward, David - 0663 - MITLL wrote: lxc watches /var/run/utmp in the container to monitor its runlevel, so that it can stop or "reboot" the container

[lxc-devel] [PATCH] Watch utmp if /var/run is not shared

2011-02-28 Thread David Ward
lxc watches /var/run/utmp in the container to monitor its runlevel, so that it can stop or "reboot" the container when appropriate. This should not happen though if the container shares /var/run/utmp with the system (which should only be the case if the container does not run init). Currently this