[Pkg-libvirt-maintainers] Bug#757453: libvirt-daemon-system: Please do not restart virtlockd on upgrade

Laurent Bigonville bigon at debian.org
Fri Aug 8 11:36:31 UTC 2014


Package: libvirt-daemon-system
Version: 1.2.7-5
Severity: important

Hi,

If I'm not wrong, virtlockd is currently restarted on upgrade.

Looking at the virtlockd(8) manpage, it seems that's a bad idea and it
looks better to ask the daemon to reload itself instead.

 This daemon is not used directly by libvirt client applications, rather it is called on their behalf by libvirtd. By maintaining the locks in a standalone daemon, the main
 libvirtd daemon can be restarted without risk of losing locks.  The virtlockd daemon has the ability to re-exec() itself upon receiving SIGUSR1, to allow live upgrades
 without downtime.

Unfortunately, ATM there is no debhelper tool allowing to do that, so
it's maybe better to not restart it at all until this is fixed.

Cheers,

Laurent Bigonville

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-daemon-system depends on:
ii  adduser              3.113+nmu3
ii  gettext-base         0.19.2-1
ii  init-system-helpers  1.20
ii  libapparmor1         2.8.0-5.1+b1
ii  libaudit1            1:2.3.7-1
ii  libavahi-client3     0.6.31-4
ii  libavahi-common3     0.6.31-4
ii  libblkid1            2.20.1-5.8
ii  libc6                2.19-7
ii  libcap-ng0           0.7.3-1.1
ii  libdbus-1-3          1.8.6-1
ii  libdevmapper1.02.1   2:1.02.85-2
ii  libgnutls-deb0-28    3.2.16-1
ii  libnl-3-200          3.2.24-2
ii  libnl-route-3-200    3.2.24-2
ii  libnuma1             2.0.9-1
ii  librados2            0.80.5-1
ii  librbd1              0.80.5-1
ii  libsasl2-2           2.1.26.dfsg1-11
ii  libselinux1          2.3-1
ii  libssh2-1            1.4.3-3
ii  libsystemd-daemon0   208-7
ii  libvirt-clients      1.2.7-5
ii  libvirt-daemon       1.2.7-5
ii  libvirt0             1.2.7-5
ii  libxml2              2.9.1+dfsg1-4
ii  libyajl2             2.1.0-1
ii  logrotate            3.8.7-1

Versions of packages libvirt-daemon-system recommends:
ii  bridge-utils  1.5-9
ii  dmidecode     2.12-3
ii  dnsmasq-base  2.71-1
ii  ebtables      2.0.10.4-3
ii  iproute2      3.16.0-1
ii  iptables      1.4.21-2
ii  parted        3.2-2
ii  pm-utils      1.4.1-15

Versions of packages libvirt-daemon-system suggests:
pn  apparmor     <none>
ii  auditd       1:2.3.7-1
ii  policykit-1  0.105-6.1
pn  radvd        <none>
ii  systemd      208-7
pn  systemtap    <none>

-- Configuration Files:
/etc/default/libvirt-guests changed [not included]
/etc/libvirt/qemu.conf [Errno 13] Permission non accordée: u'/etc/libvirt/qemu.conf'

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list