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

2013-06-06 Thread flob
Adding -s lxc.tty=1 -s lxc.console=/dev/console for interactive
processes works for me:

sudo lxc-execute -n test /bin/bash -s lxc.rootfs=/  -s lxc.tty=1 -s
lxc.console=/dev/console

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

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


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

2012-05-23 Thread Dylan Vassallo
I am seeing this behavior too on 12.04. I must specify lxc.aa_profile =
unconfined, and I must omit a rootfs setting, for lxc-execute to work
with anything interactive like bash or python.

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

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


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

2012-04-26 Thread B Clausius
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?

What config makes the bash work with lxc-execute?
Or are interactive commands not intended to work with lxc-execute? The man-page 
says it should.

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

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


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

2012-04-26 Thread Serge Hallyn
Quoting B Clausius (ba...@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

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