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 changed:

- 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:
+ [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
+  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.
+  pacemaker-cli-utils depends on pacemaker | pacemaker-remote; however:
+   Package pacemaker is not configured yet.
+   Package pacemaker-remote is not installed.
  
  Cheers
  Wolfgang

** Patch added: "add dbus dependency - SRU for Xenial"
   
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1595901/+attachment/4714025/+files/fix-1595901-pacemaker-dbus-dependency.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1595901

Title:
  Missing dependency on dbus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1595901/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to