Missing dependency on dbus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pacemaker (Ubuntu) |
Fix Released
|
High
|
Christian Ehrhardt | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Pacemaker can be disfunctional and uninstallable if dbus is not around
[Test Case]
* lxc launch images:
lxc exec xenial-pacemaker-bug1595901 /bin/bash
apt-get remove --purge dbus # should not be installed anyway yet
# for proposed verification enable proposed before the next step
apt-get install pacemaker # should pull in dbus and work
[Regression Potential]
* since this is not a change to source or build of the code the
regression potential should be low.
* if dbus is causing trouble somewhere it will now do so wherever
pacemaker is installed, but as reported in the bug pacemaker just
requires dbus, so there is no doubt in adding the dependency.
---
The systemd unit pacemaker.service depends on dbus.service, but the package has no Dependency on the dbus package, so on a system without dbus you get:
Setting up pacemaker (1.1.14-2ubuntu1) ...
Installing new version of config file /etc/init.
insserv: warning: current start runlevel(s) (2 3 4 5) of script `pacemaker' overrides LSB defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `pacemaker' overrides LSB defaults (empty).
Failed to start pacemaker.service: Unit dbus.service not found.
invoke-rc.d: initscript pacemaker, action "start" failed.
dpkg: error processing package pacemaker (--configure):
subprocess installed post-installation script returned error exit status 5
dpkg: dependency problems prevent configuration of pacemaker-
pacemaker-
Package pacemaker is not configured yet.
Package pacemaker-remote is not installed.
Cheers
Wolfgang
Changed in pacemaker (Ubuntu): | |
importance: | Undecided → High |
tags: | added: bitesize server-next |
Changed in pacemaker (Ubuntu): | |
assignee: | nobody → ChristianEhrhardt (paelzer) |
Confirmed, already for later on in the SRU template full steps to recreate:
lxc launch images: ubuntu/ yakkety/ amd64 yakkety-pacemaker-bug1595901
lxc exec yakkety-pacemaker-bug1595901 /bin/bash
apt-get remove --purge dbus
apt-get install pacemaker