[libvirt] [PATCH] logging: inhibit virtlogd shutdown while log files are open

John Ferlan jferlan at redhat.com
Wed Nov 25 18:41:27 UTC 2015



On 11/24/2015 08:10 AM, Daniel P. Berrange wrote:
> The virtlogd daemon is launched with a 30 second timeout for
> unprivileged users. Unfortunately the timeout is only inhibited
> while RPC clients are connected, and they only connect for a
> short while to open the log file descriptor. We need to hold
> an inhibition for as long as the log file descriptor itself
> is open.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/logging/log_daemon.c  | 19 +++++++++++++++++--
>  src/logging/log_handler.c | 33 +++++++++++++++++++++++++++------
>  src/logging/log_handler.h | 11 +++++++++--
>  3 files changed, 53 insertions(+), 10 deletions(-)
> 

ACK

John




More information about the libvir-list mailing list