[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switching the default startup method

On Tue, 25 Aug 2009, Marc 'HE' Brockschmidt wrote:
> Russ Allbery <rra@debian.org> writes:
> > Marc 'HE' Brockschmidt <he@ftwca.de> 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 [1]), 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

Raphaël Hertzog

Reply to: