Re: Please all dependency info into your init.d script
Here is a small status update on the dependency based init.d script
ordering effort.
[Petter Reinholdtsen]
> As you might be aware, there are several bugs in the Debian boot
> sequence. The bugs affect some combinations of packages, and are some
> times hard to solve. To solve them once and for all, I want us to
> switch to a dependency based sequencing of the symlinks in
> /etc/rc*.d/. I gave a talk about this at Debconf, see
> <URL:https://penta.debconf.org/~joerg/events/21.en.html> for the
> slides and more info.
This still holds.
> For this to work properly, all init.d scripts need to provide
> dependency information. There is a standard for specifying such
> dependency information in the LSB, and already 56% of the Debian
> packages in unstable include the header with dependency information.
> This message is for the rest of you.
>
> I've created
> <URL:http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot> to
> track the progress of this work. See also
> <URL:http://wiki.debian.org/LSBInitScripts> for clues on how to write
> such header.
Please have a look at the URL above and fix your packages. :)
The amount of packages missing such headers have gone from 44% this
summer to 38% at the moment. Most of the packages in a desktop
install is already converted, but a few vital ones are still missing.
I've used insserv in my sid chroot as a replacement for update-rc.d
since this summer, and it seem to work fairly well. There are enough
override files to get a correct boot sequence.
There is a small bug in insserv when it comes to the shutdown
sequence, and I have not been able to figure it out yet. This leads
to a slightly wrong halt and reboot sequence, even if the init.d
script headers are correct. I hope to find a solution to this issue
soon.
Happy hacking,
--
Petter Reinholdtsen
Reply to: