[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal

2012-04-25 Thread Daniel Lezcano
The lxc-execute command is used for 'application container'. Usually, the system container uses a rootfs and the application container do not use a rootfs. So lxc is looking for if the rootfs option is set and then setup the console. Here lxc-execute is used with the rootfs, so it setup the

[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal

2012-04-25 Thread Serge Hallyn
Thanks Daniel. It sounds then like we should document this somewhere explicitly. I'll re-title the but and mark it low priority. ** Changed in: lxc (Ubuntu) Importance: Medium = Low ** Summary changed: - lxc-execute does not work with commands that require input from terminal + document

[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal

2012-04-23 Thread Serge Hallyn
** Changed in: lxc (Ubuntu) Importance: Undecided = Medium -- 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: lxc-execute does not work with commands that require input

[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal

2012-04-23 Thread Serge Hallyn
Reproduced with upstream lxc.git as well. -- 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: lxc-execute does not work with commands that require input from terminal To

[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal

2012-04-23 Thread Serge Hallyn
the read() in src/lxc/console.c:console_handler() is getting -1 (EPERM). -- 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: lxc-execute does not work with commands that

[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal

2012-04-23 Thread Serge Hallyn
The task getting the -EPERM is the actual lxc-execute process itself (which is unconfined by both apparmor and cgroups), and the fd is to /dev/tty. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal

2012-04-22 Thread B Clausius
-- 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: lxc-execute does not work with commands that require input from terminal To manage notifications about this bug go to:

[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal

2012-04-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lxc (Ubuntu) Status: New = Confirmed -- 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