[Lxc-users] Use container's /run/utmp if it exists

Daniel Lezcano daniel.lezcano at free.fr
Tue Aug 9 14:53:22 UTC 2011


On 07/28/2011 08:20 PM, Serge E. Hallyn wrote:
> If /var/run is a symlink to /run in the container, then opening
> /proc/<pid>/root/var/run/utmp will end up opening the host's utmp.
> Therefore the hack detecting shutdown through utmp fails.
>
> Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>

Applied.




More information about the lxc-users mailing list