[lxc-devel] [PATCH] correct asprintf error checking

2010-05-19 Thread Nathan Lynch
asprintf(3) returns -1 (not 0) on error. Signed-off-by: Nathan Lynch --- src/lxc/lxc_execute.c |5 - src/lxc/lxc_restart.c |5 - src/lxc/lxc_start.c |5 - 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/lxc/lxc_execute.c b/src/lxc/lxc_execute.c

[lxc-devel] [PATCH] conf: remove unused code

2010-05-19 Thread Nathan Lynch
Since commit ab2d32f ("Replace create/destroy by a script"), configure_rootfs and many of its descendents are unused; remove them. Signed-off-by: Nathan Lynch --- src/lxc/conf.c | 182 1 files changed, 0 insertions(+), 182

Re: [lxc-devel] [PATCH] conf: remove unused code

2010-05-19 Thread Nathan Lynch
On Wed, 2010-05-19 at 21:28 +0200, Daniel Lezcano wrote: > On 05/19/2010 08:29 PM, Nathan Lynch wrote: > > Since commit ab2d32f ("Replace create/destroy by a script"), > > configure_rootfs and many of its descendents are unused; remove them. > > > > Signed-o

[lxc-devel] "use defined rootfs mount point" regression?

2010-05-20 Thread Nathan Lynch
Hi, $ find /tmp/tmp.zNMDgzalhM -print /tmp/tmp.zNMDgzalhM /tmp/tmp.zNMDgzalhM/proc /tmp/tmp.zNMDgzalhM/dev /tmp/tmp.zNMDgzalhM/dev/shm /tmp/tmp.zNMDgzalhM/bin /tmp/tmp.zNMDgzalhM/bin/true /tmp/tmp.zNMDgzalhM/lib64 /tmp/tmp.zNMDgzalhM/lib64/libutil.so.1 /tmp/tmp.zNMDgzalhM/lib64/ld-linux-x86-64.so.

Re: [lxc-devel] "use defined rootfs mount point" regression?

2010-05-21 Thread Nathan Lynch
On Fri, 2010-05-21 at 11:49 +0200, Ferenc Wagner wrote: > Daniel Lezcano writes: > > > On 05/21/2010 11:14 AM, Ferenc Wagner wrote: > > > >> Daniel Lezcano writes: > >> > >>> On 05/20/2010 10:40 PM, Nathan Lynch wrote: > >>>

Re: [lxc-devel] "use defined rootfs mount point" regression?

2010-05-21 Thread Nathan Lynch
On Fri, 2010-05-21 at 09:56 +0200, Daniel Lezcano wrote: > On 05/20/2010 10:40 PM, Nathan Lynch wrote: > > lxc-execute: No such file or directory - failed to access to > > '/usr/lib64/lxc', check it is present > > lxc-execute: failed to set rootfs for 'truete

Re: [lxc-devel] [PATCH] namespace: check stack allocation for clone succeeds

2011-04-11 Thread Nathan Lynch
On Mon, 2011-04-11 at 12:42 -0400, Michael Santos wrote: > --- > src/lxc/namespace.c |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c > index 8263fe7..5928eaa 100644 > --- a/src/lxc/namespace.c > +++ b/src/lxc/namespace.