[lxc-devel] sudo inside container

2013-03-20 Thread Ducos Laurent
Hello. I have a problem with sudo in containers. If I specify% sudo ALL = (ALL) NOPASSWD: ALL and I will place a user in the group sudo, NOPASSWD directive does not work. sudo asks me for the password of the user lxc version: 0.8.0-rc1 ---

Re: [lxc-devel] sudo inside container

2013-03-20 Thread Ducos Laurent
Le 20/03/2013 13:43, Ducos Laurent a écrit : Hello. I have a problem with sudo in containers. If I specify% sudo ALL = (ALL) NOPASSWD: ALL and I will place a user in the group sudo, NOPASSWD directive does not work. sudo asks me for the password of the user lxc version: 0.8.0-rc1 -

[lxc-devel] [PATCH] lxc-attach: Clear environment and set container=lxc

2013-03-20 Thread David Ward
The child process's environment should be manipulated the same way by lxc-attach as it would be by lxc-start or lxc-execute. Signed-off-by: David Ward --- src/lxc/attach.c | 15 +++ src/lxc/attach.h |1 + src/lxc/lxc_attach.c |5 + 3 files changed, 21 insertions

Re: [lxc-devel] [PATCH] lxc-attach: Clear environment and set container=lxc

2013-03-20 Thread Serge Hallyn
Quoting David Ward (david.w...@ll.mit.edu): > The child process's environment should be manipulated the same way > by lxc-attach as it would be by lxc-start or lxc-execute. > > Signed-off-by: David Ward Acked-by: Serge E. Hallyn > --- > src/lxc/attach.c | 15 +++ > src/lxc/a