Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549990 - app-emulation/libvirt - virtlockd init script should provide reload
Summary: app-emulation/libvirt - virtlockd init script should provide reload
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 20:24 UTC by Jason Zaman
Modified: 2015-06-06 17:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Zaman gentoo-dev 2015-05-20 20:24:01 UTC
From man virtlockd:

SIGNALS
       On receipt of SIGUSR1 virtlockd will re-exec() its binary, while maintaining all current locks and clients. This allows for live upgrades of the virtlockd service.

the init script should provide an extra reload command which does that.
Comment 1 Matthias Maier gentoo-dev 2015-05-24 21:13:58 UTC
Can you please test one of the following versions that ship an updated virtlockd.init script and if everything works as intended close the bug?

  1.2.15-r1, 1.2.14-r3, 1.2.12-r3, 1.2.10-r6

Works fine for me in a VM with openrc (the systemd unit file already uses SIGUSR1 for reload).


*libvirt-1.2.15-r1 (24 May 2015)
*libvirt-1.2.12-r2 (24 May 2015)
*libvirt-1.2.14-r3 (24 May 2015)
*libvirt-1.2.10-r6 (24 May 2015)

  24 May 2015; Matthias Maier <tamiko@gentoo.org> +files/virtlockd.init-r1,
  +libvirt-1.2.10-r6.ebuild, +libvirt-1.2.12-r2.ebuild,
  +libvirt-1.2.14-r3.ebuild, +libvirt-1.2.15-r1.ebuild,
  -libvirt-1.2.10-r5.ebuild, -libvirt-1.2.11-r4.ebuild,
  -libvirt-1.2.12-r1.ebuild, -libvirt-1.2.13-r2.ebuild, -libvirt-1.2.15.ebuild,
  libvirt-9999.ebuild:
  Cleanup; update to latest upstream maintenance patches; ship virtlockd init
  script with reload, bug #549990, thanks to Jason Zaman.
Comment 2 Jason Zaman gentoo-dev 2015-06-06 17:41:06 UTC
Looks like its working, thanks!