** Description changed: 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 + [impact] + lxc-start-ephemeral only partly works when run as non-root, this isn't the expected behaviour. + + [development fix] + The SRU is a copy of the template from development + + [stable fix] + The SRU is a copy of the template from development + + [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/permission denied), then the fix works. + + [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.
** Description changed: 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. [development fix] The SRU is a copy of the template from development [stable fix] The SRU is a copy of the template from development [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/permission denied), then the fix works. [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. -- 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