[Pkg-sysvinit-devel] Bug#714039: Bug#714039: initscripts: Require-Start problem

Petter Reinholdtsen pere at hungry.com
Thu Jul 18 08:25:01 UTC 2013


[heroxbd]
> Excuse me, I fail to see the validity of this example.
> 
> In, http://wiki.debian.org/LSBInitScripts,
> 
> ,----
> | $all facility supported by insserv to start a script after all the
> | other scripts, at the end of the boot sequence. This only work for
> | start ordering, not stop ordering. It is not possible to depend on a
> | script which depend on $all.
> `----
> 
> it is clearly said baz depending on bar is not possible.

I know, as I wrote that text.  The advice given on the wiki page is
written like that because of how insserv is working.  But that part of
how $all is implemented break the principle of least surprise, and other
parsers might implement it differently.  SuSe and Debian both use
insserv and do it the same way, but other distributions use other
implementations.

> Anyway, we lose nothing in insserv by making this change, do we?

Depend on your point of view.  I doubt the ordering will change, but if
a script want to express that it _must_ run after all other scripts
instead of _should_ run after all other scripts, it will keep using
required-start.  Do you plan to track down all init.d scripts and ask
for all packages to do this change?

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list