Comment 0 for bug 1004069

Revision history for this message
Stéphane Graber (stgraber) wrote :

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.

Testcase:
 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/permission denied), then the fix works.