upstart job fails to start under lxc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Fix Released
|
Medium
|
Serge Hallyn | ||
Precise |
Won't Fix
|
Medium
|
Serge Hallyn | ||
Quantal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The KSM_ENABLED setting (on by default) for the qemu-kvm job fails under lxc but the kernel files still appear writable. Thats likely an lxc bug (either in defaults or device mapping), but there is no need for qemu-kvm's job to fail if those settings can't be written to IMNSHO.
=======
SRU Justification:
1. Impact: qemu-kvm cannot be installed in containers
2. Development fix: ignore errors writing under /sys in upstart job
3. Stable fix: same as development fix
4. Test case:
sudo lxc-create -t ubuntu -n c1 -- -r [precise|quantal]
sudo lxc-start -n c1
# log into c1 as ubuntu/ubuntu, and 'sudo apt-get install qemu-kvm'
5. Regression potential: legitimate errors writing under /sys (kernel bugs)
will be ignored.
=======
Changed in qemu-kvm (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | Triaged → In Progress |
Changed in qemu-kvm (Ubuntu Precise): | |
status: | Triaged → In Progress |
Changed in qemu-kvm (Ubuntu Quantal): | |
status: | Triaged → In Progress |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-needed removed: verification-done |
Changed in qemu-kvm (Ubuntu Precise): | |
status: | Fix Released → Triaged |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
http:// paste.ubuntu. com/1356944/ has a debdiff of the (trivial) fix, adjusted to not version conflict with my nbd patch.