Public bug reported: 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. ** Affects: lxc (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: lxc (Ubuntu Precise) Importance: Undecided Assignee: Stéphane Graber (stgraber) Status: In Progress ** Also affects: lxc (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: lxc (Ubuntu Precise) Status: New => In Progress ** Changed in: lxc (Ubuntu Precise) Assignee: (unassigned) => Stéphane Graber (stgraber) ** Changed in: lxc (Ubuntu) Status: New => Fix Released -- 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/1004069 Title: lxc-start-ephemeral doesn't fully work when started as non-root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1004069/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs