lxc-start-ephemeral doesn't fully work when started as non-root
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Stéphane Graber | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
lxc-start-ephemeral is supposed to be working as non-root by calling sudo where needed but some actions (writing to conf files) still require root.
In Quantal, I fixed lxc-start-ephemeral so that it uses "sudo tee" in such case, making it work as expected, this should be SRUed to Precise.
----
[impact]
lxc-start-ephemeral only partly works when run as non-root, this isn't the expected behaviour.
[test case]
1) sudo lxc-create -t ubuntu -n p1
2) lxc-start-ephemeral -o p1
If 2) works properly without any error message (operation not permitted/
[regression potential]
Can't get much worse than a command blowing up at the middle of run time with files being owned by root and an half started container.
Related branches
Changed in lxc (Ubuntu Precise): | |
status: | New → In Progress |
assignee: | nobody → Stéphane Graber (stgraber) |
Changed in lxc (Ubuntu): | |
status: | New → Fix Released |
Changed in lxc (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
description: | updated |
description: | updated |
description: | updated |
Thanks for uploading the fix for this bug report to -proposed. However, when reviewing the package in -proposed and the details of this bug report I noticed that the bug description is missing information required for the SRU process. You can find full details at http:// wiki.ubuntu. com/StableRelea seUpdates# Procedure but essentially this bug is missing some of the following: a statement of impact, a test case and details regarding the regression potential. Thanks in advance!