[lxc-devel] [PATCH] legacy ls: only output appropriate directories/containers

2013-02-12 Thread Dwight Engen
For lxc-ls without --active, only output a directory in lxc_path if it contains a file named config. This avoids extra directories that may exist in lxc_path, for example .snapshot if lxc_path is an nfs mount. For lxc-ls with --active, don't output . if there are no active containers. Signed-off-

Re: [lxc-devel] [PATCH] pass lxcpath to lxc_command

2013-02-12 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Tue, 12 Feb 2013 12:10:15 -0600 > Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > On Mon, 11 Feb 2013 16:40:39 -0500 > > > Stéphane Graber wrote: > > > > > > > On 02/11/2013 03:43 PM, Serge Hallyn wrote: > > >

Re: [lxc-devel] [PATCH] pass lxcpath to lxc_command

2013-02-12 Thread Dwight Engen
On Tue, 12 Feb 2013 12:10:15 -0600 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > On Mon, 11 Feb 2013 16:40:39 -0500 > > Stéphane Graber wrote: > > > > > On 02/11/2013 03:43 PM, Serge Hallyn wrote: > > > > > > > > The previous lxcpath patches added support for a cust

Re: [lxc-devel] [PATCH] only INFO rcfile if asprintf successfully allocates it

2013-02-12 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Signed-off-by: Dwight Engen Indeed. thanks :) Acked-by: Serge E. Hallyn > --- > src/lxc/lxc_start.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/lxc/lxc_start.c b/src/lxc/lxc_start.c > index aac7fe7..9d8db63 1

Re: [lxc-devel] [PATCH] pass lxcpath to lxc_command

2013-02-12 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Mon, 11 Feb 2013 16:40:39 -0500 > Stéphane Graber wrote: > > > On 02/11/2013 03:43 PM, Serge Hallyn wrote: > > > > > > The previous lxcpath patches added support for a custom LXCPATH set > > > through a system-wide configuration file. > > > >

[lxc-devel] [PATCH] only INFO rcfile if asprintf successfully allocates it

2013-02-12 Thread Dwight Engen
Signed-off-by: Dwight Engen --- src/lxc/lxc_start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxc_start.c b/src/lxc/lxc_start.c index aac7fe7..9d8db63 100644 --- a/src/lxc/lxc_start.c +++ b/src/lxc/lxc_start.c @@ -182,12 +182,12 @@ int main(int argc, char *argv[]

Re: [lxc-devel] [PATCH] pass lxcpath to lxc_command

2013-02-12 Thread Dwight Engen
On Mon, 11 Feb 2013 16:40:39 -0500 Stéphane Graber wrote: > On 02/11/2013 03:43 PM, Serge Hallyn wrote: > > > > The previous lxcpath patches added support for a custom LXCPATH set > > through a system-wide configuration file. > > > > This was also exposed through the C api, so that a custom lxc

Re: [lxc-devel] lxc-start exit code 130

2013-02-12 Thread Serge Hallyn
Quoting Alexander Vladimirov (alexander.idkfa.vladimi...@gmail.com): > Despite container seems to work and shutdown without any visible errors, I > get exit code 130 when lxc-start terminates. That's not much of a problem, > but requires some workarounds when running as systemd service and could >