Here is a patch.
Some comments : 
- the Makefile installed the systemd unit files in the wrong system unit 
directory, so they were not detected and not enabled/started with 
dh_installinit so I did a small debian/patch.
- then once, the path is fixed the call to invoke-rc.d in the generated 
postinst did not start the daemons because "We never start disabled jobs;"(cf 
invoke-rc.d code) and we need to enable the daemons in the post-installation. I 
couldn't do it with "update-rc.d enable" in the configure step of the postinst 
script as "update-rc.d defaults" needs to be done before... So I used 
dh_systemd which uses dh_systemd_enable and dh_systemd_start.
I worked here.
Please review, thanks!

** Patch added: "enable-and-start-daemons.patch"
   
https://bugs.launchpad.net/ubuntu/+bug/1505088/+attachment/4522831/+files/enable-and-start-daemons.patch

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

Title:
  Surelock: GA2: ppc64-diag package opal_errd not autostarting on Ubuntu
  15.10 (in systemd)

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

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

Reply via email to