[Bug 986956] Re: document that lxc-execute with separate rootfs does not work with commands

Serge Hallyn 986956 at bugs.launchpad.net
Thu Apr 26 14:16:49 UTC 2012


Quoting B Clausius (barcc at gmx.de):
> The last comments make me think that lxc-execute works with application
> containers. Does it work?
> 
> The simplest usage would be (without a created container test):
> $ sudo lxc-execute -n test /bin/bash
> But due to bug 981955 this does not work. With the workaround there:
> $ sudo lxc-execute -n test /bin/bash -s lxc.rootfs=/ -s lxc.aa_profile=unconfined
> Now Daniel suggests not to specify lxc.rootfs?

Right, that being the case, that bug's priority needs to be raised.  I will
get fixes proposed for SRU for that bug today.

> What config makes the bash work with lxc-execute?

Just lxc.aa_profile = unconfined will work, once bug 981955 is fixed.

-- 
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/986956

Title:
  document that lxc-execute with separate rootfs does not work with
  commands

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986956/+subscriptions



More information about the Ubuntu-server-bugs mailing list