Support clean container reboot vs shutdown disambiguation
Bug #914676 reported by
Serge Hallyn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
lxc (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
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.
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
tags: | added: kernel-key |
To post a comment you must log in.
This is required in order to reach our goal of having a unmodified precise image (without the lxcguest package) start in a container.