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-
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:
> > >
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
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
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.
> > >
>
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[]
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
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
>