There is no debian/rules diff in Ubuntu. But the autogenerated postinst
diff between sid and utopic explains this, so I suppose our
dh_installinit works in a way that an upstart job statically masks an
init script:
@ -124,9 +143,14 @@
⎵
# Automatically added by dh_installinit
if [ -x "/etc/init.d/networking" ]; then
-…………………update-rc.d networking defaults >/dev/null || exit $?
+…………………if [ ! -e "/etc/init/networking.conf" ]; then
+………………………………………update-rc.d networking defaults >/dev/null
+…………………fi
fi
# End automatically added section
+# Automatically added by dh_installinit
+update-rc.d -f networking remove >/dev/null || exit $?
+# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/default/ifupdown 0.7~+ ifupdown --
"$@"
# End automatically added section
That's in debhelper's merge log:
- autoscripts/postinst-init*: Only call update-rc.d when there's no
upstart job.
** Summary changed:
- [systemd] Doesn't bring up interfaces from /etc/network/interfaces
+ [systemd] /etc/init.d/networking not enabled
** Also affects: debhelper (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- [systemd] /etc/init.d/networking not enabled
+ [systemd] dh_installinit does not create /etc/rc*.d/S??foo if there is an
/etc/init/foo.conf
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs