Re: [lxc-devel] [PATCH] Fix fd leak in lxc log

2012-11-26 Thread Stéphane Graber
On 11/26/2012 12:38 PM, Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): >> lxc_log_init will leak an fd when it is called by a long running >> program that may call lxc_container_new multiple times. Fix by >> only opening the log if it is not already open. >> >> Signed-off-by:

Re: [lxc-devel] [PATCH] Fix fd leak in lxc log

2012-11-26 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > lxc_log_init will leak an fd when it is called by a long running > program that may call lxc_container_new multiple times. Fix by > only opening the log if it is not already open. > > Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn > ---