[Pkg-libvirt-maintainers] Bug#833745: Bug#833745: libvirt-daemon-system: Please use SIGUSR1 to restart virtlockd and virtlogd on upgrade

Guido Günther agx at sigxcpu.org
Mon Aug 8 16:59:31 UTC 2016


On Mon, Aug 08, 2016 at 02:32:06PM +0200, Laurent Bigonville wrote:
> On Mon, 08 Aug 2016 14:07:59 +0200 Laurent Bigonville <bigon at debian.org>
> wrote:
> 
> > Hi,
> >
> > According to the virtlockd and virtlogd manpages, SIGUSR1 can be used to
> > reexec the daemon to minimize the downtime on upgrade:
> >
> > This should probably be prefered over a full restart. Not that virtlogd
> > doesn't seem to be restarted on upgrade ATM.
> 
> The systemd .service and the LSB script are apparently doing the correct
> thing when calling reload, I guess that the maintainer scripts should be
> modified to call that instead of restart

We should be doing this for virtlockd already since ages, we have:

  dh_systemd_start -p libvirt-daemon-system --no-restart-on-upgrade libvirt-guests.service virtlockd.socket virtlockd.service

so this should work. virtlogd is indeed missing. Do you have a log of
the virtlockd restart?
 -- GUido

> 
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> 



More information about the Pkg-libvirt-maintainers mailing list