[Bug 981955] Re: lxc-execute does not seem to work in precise

Serge Hallyn 981955 at bugs.launchpad.net
Fri Apr 20 20:23:02 UTC 2012


Ah.  I see now.  Thanks, guys.

There are actually two things you need to add to a configuration file to
make this work.  If I do:

cat > test.conf << EOF
lxc.aa_profile = unconfined
lxc.rootfs = /
EOF

lxc-execute -n test -f test.conf -- /bin/echo hi

That works for me.

Skipping the pinning of rootfs when lxc.rootfs = NULL would seem
sensible.  I'm not sure what we should do about the apparmor profile for
this case.

** Changed in: lxc (Ubuntu)
       Status: Incomplete => Confirmed

** Summary changed:

- lxc-execute does not seem to work in precise
+ lxc-execute without config does not seem to work in precise

** Changed in: lxc (Ubuntu)
   Importance: High => Low

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

Title:
  lxc-execute without config does not seem to work in precise

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



More information about the Ubuntu-server-bugs mailing list