The very early boot is done before hard drive partitions are
mounted.</p>
-<ol>is
+<ol>
<li>/sbin/init start, which looks at /etc/inittab and decides what to
do.</li>
<h2>The ordering problem</h2>
<p>Script ordering is vital for this to work. And how are the scripts
-ordered? By numbers!
+ordered? By numbers 01-99!
<p>And the numbers are picked using skills, knowledge and negotiation.
Getting it right is often hard.
<p>The current Debian default is wrong. The stop sequence should by
-default be the reverse of the start sequence. It isn't.
+default be the reverse of the start sequence. It isn't. The default
+uses '20' for both.
<p>Reordering is hard and sometimes requires cooperation between
maintainers of all packages involved.
<dt>Graph of the dependencies:
<a href="sid-base-boot-20080220.dot"><tt>/usr/share/insserv/check-initd-order -g</tt></a>
-<dd>for reviewing dependencies
+<dd>for reviewing dependencies with dotty from graphviz.
</dl>
<p>Incorrect dependencies give the wrong but predictable and stable
(as in the same all the time) boot and shutdown order.</p>
+<p>Every insserv upload are checked using test suite to make sure the
+generated boot sequence is correct, and that previously detected bugs
+do not show up again.</p>
+
<p>It is possible to enable concurrent booting, running boot scripts
in parallel (CONCURRENCY=startpar in /etc/default/rcS)</p>
</dl>
<p>All of these represent points in time during boot and shutdown.
+Virtual facilities are defined in <tt>/etc/insserv.conf</tt> and
+<tt>/etc/insserv.conf.d/</tt>
<h2>What to list as dependencies (II)</h2>
stopped before <tt>sendsigs</tt> kills all processes during
shutdown.</p>
-XXX More
+<p>A sysadmin can provide overrides in
+<tt>/etc/insserv/overrides/scriptname</tt> if the script settings are
+wrong. The insserv package provides overrides in
+<tt>/usr/share/insserv/overrides/<tt> for packages currently missing
+headers.</p>
<h2>Status of the dependency based boot system</h2>
<img alt="LSB header progress graph" src="lsb-header-progress.png" width="50%" align="right">
<p>Release goal for Debian Lenny.
-<br>76% of packages got LSB headers
+<br>76% of packages got LSB headers.
<br>Unsolved in BTS: ~85
<br>Without BTS reports: ~150
<br>Last package will be fixed 2008-06-13 at the current rate.