Missing dependency on dbus

Bug #1595901 reported by Wolfgang Karall-Ahlborn
10
This bug affects 1 person
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:ubuntu/yenial/amd64 xenial-pacemaker-bug1595901
   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.d/pacemaker ...
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-cli-utils:
 pacemaker-cli-utils depends on pacemaker | pacemaker-remote; however:
  Package pacemaker is not configured yet.
  Package pacemaker-remote is not installed.

Cheers
Wolfgang

Robie Basak (racb)
Changed in pacemaker (Ubuntu):
importance: Undecided → High
tags: added: bitesize server-next
Changed in pacemaker (Ubuntu):
assignee: nobody → ChristianEhrhardt (paelzer)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

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

Changed in pacemaker (Ubuntu):
status: New → Triaged
Revision history for this message
Robie Basak (racb) wrote :

I believe this was fixed in Yakkety by 1.1.15-1ubuntu1

Changed in pacemaker (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Since the merge of pacemaker is now in that brought this change into the devel release it is time to SRU this simple change to fix it in Xenial as well.

description: updated
Revision history for this message
Robie Basak (racb) wrote :

Xenial debdiff uploaded. Thank you!

Changed in pacemaker (Ubuntu Xenial):
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Wolfgang, or anyone else affected,

Accepted pacemaker into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pacemaker/1.1.14-2ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in pacemaker (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Wolfgang Karall-Ahlborn (biz+launchpad) wrote :

Version 1.1.14-2ubuntu1.1 works for me.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for pacemaker has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pacemaker - 1.1.14-2ubuntu1.1

---------------
pacemaker (1.1.14-2ubuntu1.1) xenial; urgency=medium

  * add missing dependency to dbus (LP: #1595901)

 -- Christian Ehrhardt <email address hidden> Thu, 04 Aug 2016 15:24:08 +0200

Changed in pacemaker (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.