Re: [lxc-devel] [PATCH 0/3] The poor man's attach

2011-11-03 Thread Greg Kurz
On Thu, 2011-11-03 at 14:24 +0100, Cedric Le Goater wrote: > For a reason I don't fully understand, src/lxc/pty.h gets included > > instead of /usr/include/pty.h... hence the warning. > > src/lxc/pty.h comes with these include options: > > DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_buildd

Re: [lxc-devel] [PATCH 0/3] The poor man's attach

2011-11-03 Thread Cedric Le Goater
>> --- lxc.git.orig/src/lxc/lxc_init.c >> +++ lxc.git/src/lxc/lxc_init.c >> @@ -36,6 +36,7 @@ >>#include >>#include >>#include >> +#include >> > > Hmm... Look at my original post, is included between > and. I guess you want to fix this warning: > > In function ‘handle_rexec_connect’: >

Re: [lxc-devel] [PATCH 0/3] The poor man's attach

2011-11-03 Thread Greg Kurz
On Thu, 2011-11-03 at 09:36 +0100, Cedric Le Goater wrote: > > Hi Greg, > > > > I successfully applied the patches, but the compilation fails with: > > > > /home/dlezcano/work/src/lxc/src/lxc/lxc_init.c:164: undefined reference > > to `lxc_error_set_and_log_siginfo' > > /home/dlezcano/work/src/lxc/

Re: [lxc-devel] [PATCH 0/3] The poor man's attach

2011-11-03 Thread Greg Kurz
On Sat, 2011-10-29 at 20:26 +0200, Daniel Lezcano wrote: > On 10/26/2011 05:13 PM, Greg Kurz wrote: > > Often people want to launch a command in an already > > running container. This can be achieved with the lxc-attach > > command, provided you have a patched kernel with full > > setns() support.

Re: [lxc-devel] [PATCH 0/3] The poor man's attach

2011-11-03 Thread Cedric Le Goater
> Hi Greg, > > I successfully applied the patches, but the compilation fails with: > > /home/dlezcano/work/src/lxc/src/lxc/lxc_init.c:164: undefined reference > to `lxc_error_set_and_log_siginfo' > /home/dlezcano/work/src/lxc/src/lxc/lxc_init.c:193: undefined reference > to `lxc_error_set_and_log_s

Re: [lxc-devel] [PATCH 0/3] The poor man's attach

2011-10-29 Thread Daniel Lezcano
On 10/26/2011 05:13 PM, Greg Kurz wrote: > Often people want to launch a command in an already > running container. This can be achieved with the lxc-attach > command, provided you have a patched kernel with full > setns() support. > > For those who won't rebuild a kernel, we introduce > the lxc-re