[libvirt] [PATCH] rotatingfile: mark log files as close-on-exec

2015-12-04 Thread Daniel P. Berrange
The log file descriptor associated with the virRotatingFile struct should be marked close-on-exec, as even when virtlogd re-exec's itself it expect to open the log file fresh. It does not need to preserve the logfile handles, only the network client FDs. Signed-off-by: Daniel P. Berrange

Re: [libvirt] [PATCH] rotatingfile: mark log files as close-on-exec

2015-12-04 Thread Laine Stump
On 12/04/2015 12:24 PM, Daniel P. Berrange wrote: The log file descriptor associated with the virRotatingFile struct should be marked close-on-exec, as even when virtlogd re-exec's itself it expect to open the log file fresh. It does not need to preserve the logfile handles, only the network