Re: Switching the default startup method
On Tue, 25 Aug 2009, Marc 'HE' Brockschmidt wrote:
> Russ Allbery <firstname.lastname@example.org> writes:
> > Marc 'HE' Brockschmidt <email@example.com> writes:
> >> How is calling update-rc.d making our maintainer scripts fragile?
> > It's the things that update-rc.d doesn't support directly that are a
> > problem, like moving start numbers.
> True, but just using insserv will not fix this problem. As long as we
> don't move away from the current update-rc.d API (which we can't in this
> cycle ), we can also keep providing plain sysv-rc or file-rc.
AIUI, the API has not changed but the numbers are no more used since
insserv doesn't use the numbers to order the boot sequence... so whatever
number you pick, provided that you have put the right dependencies in the
init script, it should work (except for file-rc since it doesn't use
dependencies) as you expect it.
That's why update-rc.d is diverted by insserv, it does something
different but does not required updates of all packages providing init