Adding a debhelper task, to check if we can drop that "autoscripts
/postinst-init*: Only call update-rc.d when there's no upstart job"
delta. Whether we can just do that depends on this question: If there is
an /etc/rc?.d/S??foo and an /etc/init/foo.conf, does upstart only run
the upstart job and the init.d script gets "masked" by that
automatically (1)? Or would upstart run both (2)?

If (1), we can drop the dh_installinit delta, get the rc?.d symlinks
back, and will have init.d scripts as properly working fallbacks for
packages which don't have a systemd unit. This will also unbreak
insserv, as it will then be able to properly figure out dependencies
(Debian stopped supporting the non-insserv "static priorities" mode, so
sooner or later we'll have to do this).

If (2), how difficult is it to implement this masking dynamically in
upstart instead of statically in dh_installinit? This would then need an
upstart task.

** Changed in: debhelper (Ubuntu)
       Status: New => Triaged

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

Title:
  [systemd] dh_installinit does not create /etc/rc*.d/S??foo if there is
  an /etc/init/foo.conf

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

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

Reply via email to