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

Laine Stump laine at laine.org
Fri Dec 4 17:46:22 UTC 2015


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
> client FDs.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>

ACK.




More information about the libvir-list mailing list