package libvirt-bin=1.3.1-1ubuntu1 fails to install due to new virtlockd initd script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
On Ubuntu Xenial, new release of libvirt-bin fails to cleanly install:
root@xenial-
--snip--
Setting up libvirt-bin (1.3.1-1ubuntu1) ...
Adding group `libvirtd' (GID 119) ...
Done.
* Starting libvirt logging daemon virtlogd [ OK ]
Starting virtlockd daemon: /etc/init.
invoke-rc.d: initscript virtlockd, action "start" failed.
dpkg: error processing package libvirt-bin (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up libxml2-utils (2.9.3+dfsg1-1) ...
Setting up pm-utils (1.4.1-16) ...
Processing triggers for libc-bin (2.21-0ubuntu6) ...
Processing triggers for systemd (229-1ubuntu2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for dbus (1.10.6-1ubuntu2) ...
Errors were encountered while processing:
libvirt-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
After installing 'daemon' package, the different error would show up indicating that init.d script uses parameters
that daemon can not handle:
Setting up libvirt-bin (1.3.1-1ubuntu1) ...
* Starting libvirt logging daemon virtlogd [ OK ]
Starting virtlockd daemon: daemon: unrecognized option '--check'
usage: daemon [options] [--] [cmd arg...]
root@xenial-
daemon-0.6.4
I could not figure out exactly what version of daemon it expects. The failing source package: https:/
Offending portion of /etc/init.
start() {
echo -n "Starting $SERVICE daemon: "
daemon --pidfile $PIDFILE --check $SERVICE $PROCESS --daemon $VIRTLOCKD_ARGS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/
}
Additional Info:
root@xenial-
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
root@xenial-
libvirt-bin:
Installed: 1.3.1-1ubuntu1
Candidate: 1.3.1-1ubuntu1
Version table:
*** 1.3.1-1ubuntu1 500
500 http://
100 /var/lib/
Changed in libvirt (Ubuntu): | |
assignee: | nobody → Stefan Bader (smb) |
This is still happening for for https:/ /launchpad. net/ubuntu/ +source/ libvirt/ 1.3.1-1ubuntu2