[Bug 914676] [NEW] Support clean container reboot vs shutdown disambiguation

Serge Hallyn 914676 at bugs.launchpad.net
Wed Jan 11 10:20:11 UTC 2012


Public bug reported:

Lxc currently disambiguates reboot from shutdown in a container by
looking at the container's utmp.  This means the container can't mount
over /run, which in turn leads to a slew of other hacks.

1. Push the kernel patch by Daniel Lezcano which allows lxc to tell what
the container wanted to do based on WTERMSIG(status).

2. Exploit this in lxc in place of the utmp watching.

3. Remove all the hacks in lxcguest surrounding the utmp hack.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/914676

Title:
  Support clean container reboot vs shutdown disambiguation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/914676/+subscriptions



More information about the Ubuntu-server-bugs mailing list