From: Petter Reinholdtsen Date: Sun, 24 Feb 2008 10:55:16 +0000 (+0000) Subject: Updates. X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/78216d4802be01ff48825badad3389e8ff0c2471 Updates. --- diff --git a/mypapers/200802-bootsequence/200802-bootsequence.html b/mypapers/200802-bootsequence/200802-bootsequence.html index abd98563eb..8108d518b8 100644 --- a/mypapers/200802-bootsequence/200802-bootsequence.html +++ b/mypapers/200802-bootsequence/200802-bootsequence.html @@ -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.

-
    is +
    1. /sbin/init start, which looks at /etc/inittab and decides what to do.
    2. @@ -166,13 +166,14 @@ maintenance.

      The ordering problem

      Script ordering is vital for this to work. And how are the scripts -ordered? By numbers! +ordered? By numbers 01-99!

      And the numbers are picked using skills, knowledge and negotiation. Getting it right is often hard.

      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.

      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:

      Graph of the dependencies: /usr/share/insserv/check-initd-order -g -
      for reviewing dependencies +
      for reviewing dependencies with dotty from graphviz. @@ -276,6 +277,10 @@ success: Boot system successfully converted

      Incorrect dependencies give the wrong but predictable and stable (as in the same all the time) boot and shutdown order.

      +

      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.

      +

      It is possible to enable concurrent booting, running boot scripts in parallel (CONCURRENCY=startpar in /etc/default/rcS)

      @@ -385,6 +390,8 @@ facility, then that daemon has been started.

      All of these represent points in time during boot and shutdown. +Virtual facilities are defined in /etc/insserv.conf and +/etc/insserv.conf.d/

      What to list as dependencies (II)

      @@ -402,14 +409,18 @@ This make sure /usr/ is available during start and that it is stopped before sendsigs kills all processes during shutdown.

      -XXX More +

      A sysadmin can provide overrides in +/etc/insserv/overrides/scriptname if the script settings are +wrong. The insserv package provides overrides in +/usr/share/insserv/overrides/ for packages currently missing +headers.

      Status of the dependency based boot system

      LSB header progress graph

      Release goal for Debian Lenny. -
      76% of packages got LSB headers +
      76% of packages got LSB headers.
      Unsolved in BTS: ~85
      Without BTS reports: ~150
      Last package will be fixed 2008-06-13 at the current rate.