Hi Petter, Petter Reinholdtsen schrieb am Wed 20. Aug, 15:53 (+0200): > [Jörg Sommer] > > On <http://wiki.debian.org/LSBInitScripts>, it's said about $all: > > ???facility supported by insserv to start a script after all the > > other scripts, at the end of the boot sequence.??? This is exactly > > what I want ???at the end of the boot sequence.??? Therefore, I > > think $all is correct and enough. If insserv doesn't comply the > > spec, it's a bug in insserv. If the spec isn't grantable, the spec > > should be reworked. > > Insserv implement $all by reordering all scripts according to their > dependencies as if $all do not exist, and then put all scripts > depending on $all after the last of the "normal" scripts. This yield > unexpected results some times. It is unclear from the spec how > ordering should be done if scripts depend on other scripts which in > turn depend on $all,
I think the algorithm should respect the dependencies, i.e. it should place the scripts they depend on scripts they depend on $all after the these scripts. A: $all B: A C: Should give C, A, B. But yes, it's better to improve the spec to say to to handle these cases. Bye, Jörg. -- “Computer games don't affect kids. If Pacman would have affected us as children, we would now run around in darkened rooms, munching yellow pills and listening to repetetive music.”
signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP