]> pere.pagekite.me Git - homepage.git/commitdiff
Updates.
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 24 Feb 2008 10:55:16 +0000 (10:55 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 24 Feb 2008 10:55:16 +0000 (10:55 +0000)
mypapers/200802-bootsequence/200802-bootsequence.html

index abd98563ebde363c5664bdd5125caeeb682f5bfa..8108d518b830fbef047097caf573ebca9a84b10e 100644 (file)
@@ -101,7 +101,7 @@ This talk is about how all of this can be done with Debian.
 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>
@@ -166,13 +166,14 @@ maintenance.</p>
 <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.
@@ -228,7 +229,7 @@ Two options are available with the insserv package:
 
 <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>
 
@@ -276,6 +277,10 @@ success: Boot system successfully converted
 <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>
 
@@ -385,6 +390,8 @@ facility, then that daemon has been started.
 </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>
 
@@ -402,14 +409,18 @@ This make sure <tt>/usr/</tt> is available during start and that it is
 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.