[Pkg-libvirt-maintainers] Bug#702324: libvirt-bin: Fails to upgrade (systemd in use)
Antti-Juhani Kaijanaho
ajk at debian.org
Tue Mar 5 09:04:49 UTC 2013
Package: libvirt-bin
Version: 0.9.12-8
Severity: normal
$ sudo dpkg --configure -a
Setting up libvirt-bin (0.9.12-8) ...
The user `libvirt-qemu' is already a member of `libvirt-qemu'.
[ ok ] Stopping libvirt-bin (via systemctl): libvirt-bin.service.
Failed to issue method call: No such file or directory
dpkg: error processing libvirt-bin (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libvirt-bin
$
If I add set -x to postinst, I get the following, which suggests that this has
something to do with systemd.
$ sudo dpkg --configure -a
Setting up libvirt-bin (0.9.12-8) ...
+ case "$1" in
+ add_users_groups
+ getent group libvirt
+ getent group kvm
+ getent group libvirt-qemu
+ getent passwd libvirt-qemu
+ adduser libvirt-qemu libvirt-qemu
The user `libvirt-qemu' is already a member of `libvirt-qemu'.
+ add_statoverrides
+ ROOT_DIRS=' /var/lib/libvirt/images/ /var/lib/libvirt/boot/ /var/cache/libvirt/ '
+ QEMU_DIRS=' /var/lib/libvirt/qemu/ /var/cache/libvirt/qemu/ '
+ SANLOCK_DIR=/var/lib/libvirt/sanlock
+ for dir in '${ROOT_DIRS}'
+ dpkg-statoverride --list /var/lib/libvirt/images/
+ chown root:root /var/lib/libvirt/images/
+ chmod 0711 /var/lib/libvirt/images/
+ for dir in '${ROOT_DIRS}'
+ dpkg-statoverride --list /var/lib/libvirt/boot/
+ chown root:root /var/lib/libvirt/boot/
+ chmod 0711 /var/lib/libvirt/boot/
+ for dir in '${ROOT_DIRS}'
+ dpkg-statoverride --list /var/cache/libvirt/
+ chown root:root /var/cache/libvirt/
+ chmod 0711 /var/cache/libvirt/
+ for dir in '${QEMU_DIRS}'
+ dpkg-statoverride --list /var/lib/libvirt/qemu/
+ chown libvirt-qemu:kvm /var/lib/libvirt/qemu/
+ chmod 0750 /var/lib/libvirt/qemu/
+ for dir in '${QEMU_DIRS}'
+ dpkg-statoverride --list /var/cache/libvirt/qemu/
+ chown libvirt-qemu:kvm /var/cache/libvirt/qemu/
+ chmod 0750 /var/cache/libvirt/qemu/
+ dpkg-statoverride --list /var/lib/libvirt/sanlock
+ chown root:root /var/lib/libvirt/sanlock
+ chmod 0700 /var/lib/libvirt/sanlock
+ '[' -n 0.9.12-7 ']'
+ dpkg --compare-versions 0.9.12-7 ge 0.6.0
++ which invoke-rc.d
+ '[' -x /usr/sbin/invoke-rc.d ']'
+ invoke-rc.d libvirt-bin stop
[ ok ] Stopping libvirt-bin (via systemctl): libvirt-bin.service.
+ sleep 1
+ '[' -x /bin/systemctl ']'
+ '[' -d /sys/fs/cgroup/systemd ']'
+ systemctl enable libvirt-bin.service
Failed to issue method call: No such file or directory
dpkg: error processing libvirt-bin (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libvirt-bin
$
Systemd version:
ii systemd 44-10 amd64 system and service manager
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libvirt-bin depends on:
ii adduser 3.113+nmu3
ii gettext-base 0.18.1.1-10
ii libavahi-client3 0.6.31-1
ii libavahi-common3 0.6.31-1
ii libblkid1 2.20.1-5.3
ii libc6 2.13-38
ii libcap-ng0 0.7.3-1
ii libdbus-1-3 1.6.8-1
ii libdevmapper1.02.1 2:1.02.77-1
ii libgcrypt11 1.5.0-5
ii libgnutls26 2.12.20-4
ii libnetcf1 1:0.2.0-5
ii libnl1 1.1-8
ii libnuma1 2.0.8-1
ii libparted0debian1 2.3-12
ii libpcap0.8 1.3.0-1
ii libpciaccess0 0.13.1-2
ii libreadline6 6.2+dfsg-0.1
ii libsasl2-2 2.1.25.dfsg1-6
ii libudev0 175-7.1
ii libvirt0 0.9.12-8
ii libxenstore3.0 4.1.4-2
ii libxml2 2.8.0+dfsg1-7
ii libyajl2 2.0.4-2
ii logrotate 3.8.3-3
Versions of packages libvirt-bin recommends:
ii bridge-utils 1.5-6
ii dmidecode 2.11+20120326-2
ii dnsmasq-base 2.65-1
ii ebtables 2.0.10.4-1
ii gawk 1:4.0.1+dfsg-2
ii iproute 20120521-3+b4
ii iptables 1.4.16.3-4
ii libxml2-utils 2.8.0+dfsg1-7
ii netcat-openbsd 1.105-7
ii parted 2.3-12
ii qemu-kvm 1.1.2+dfsg-5
Versions of packages libvirt-bin suggests:
ii policykit-1 0.105-3
pn radvd <none>
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list