** Description changed:

+ [Impact]
+ 
+ * corosync-qdevice.init does not contain default start run levels
+ 
+ * if corosync-qdevice is being started by the sysv generator, by any
+ reason, it will fail to start automatically.
+ 
+ * As Focal is a LTS, I thought it would be better to have it fixed (even
+ meaning an upgrade to those not relying in systemd sysv generator).
+ 
+ [Test Case]
+ 
+ * enable corosync-qdevice.init through systemd sysv generator instead of
+ using the corosync-qdevice.service unit
+ 
+ [Regression Potential]
+ 
+ * little potential as it changes default init runlevels only
+ 
+ [Other Info]
+ 
+  * Original Description:
+ 
  "systemctl enable corosync-qdevice.service" fails:
  Synchronizing state of corosync-qdevice.service with SysV service script with 
/lib/systemd/systemd-sysv-install.
  Executing: /lib/systemd/systemd-sysv-install enable corosync-qdevice
  update-rc.d: error: corosync-qdevice Default-Start contains no runlevels, 
aborting.
  
  Reason is that an init.d script as well as a systemd service definition 
exists:
  # dpkg -L corosync-qdevice
  /lib/systemd/system/corosync-qdevice.service
  /etc/init.d/corosync-qdevice
  
  Therefore, using pcs to add a qdevice to the cluster fails:
  pcs quorum device add model net host=qdevice-host algorithm=ffsplit
  Log:
  I, [2018-12-24T22:39:00.208158 #149]  INFO -- : Running: systemctl enable 
corosync-qdevice.service
- I, [2018-12-24T22:39:00.208322 #149]  INFO -- : CIB USER: hacluster, groups: 
+ I, [2018-12-24T22:39:00.208322 #149]  INFO -- : CIB USER: hacluster, groups:
  I, [2018-12-24T22:39:00.463878 #149]  INFO -- : Return Value: 1
  E, [2018-12-24T22:39:00.464110 #149] ERROR -- : Enabling corosync-qdevice 
failed
  
  Workaround is to manually remove the "/etc/init.d/corosync-qdevice"
  script.
  
  Solution is to remove the "/etc/init.d/corosync-qdevice" file from the
  "corosync-qdevice" package.

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

Title:
  "systemctl enable corosync-qdevice.service" fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/corosync-qdevice/+bug/1809682/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to