From: Petter Reinholdtsen Date: Thu, 21 Feb 2008 22:23:44 +0000 (+0000) Subject: Minor fixes. X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/9957ad5ab76927795a9a059d5033476d15f6793f?ds=inline Minor fixes. --- diff --git a/mypapers/200802-bootsequence/200802-bootsequence.html b/mypapers/200802-bootsequence/200802-bootsequence.html index 3091fb946d..772f7c7b14 100644 --- a/mypapers/200802-bootsequence/200802-bootsequence.html +++ b/mypapers/200802-bootsequence/200802-bootsequence.html @@ -143,8 +143,12 @@ Getting it right is often hard. default be the reverse of the start sequence. It isn't.

Reordering is hard and require cooperation between maintainers of -all packages involved. Given two packages with two scripts inserted -with the default settings in Debian: +all packages involved. + +

The ordering problem - an example

+ +

Given two packages with two scripts inserted with the default +settings in Debian:

Package A: script_a sequence 20 (start and stop)
Package B: script_b sequence 20 (start and stop) @@ -161,7 +165,7 @@ B and C to get something like this: have to change their sequence number too. Only way to discover this is by a lot of testing, or documenting script dependencies. -

A ordering solution

+

An ordering solution

Let each script document its dependency, and generate sequence numbers using this dependency information. Example: @@ -177,7 +181,9 @@ numbers using this dependency information. Example:
script_a start seq 3, stop seq 1

An implementation of this system is the dependency based boot -sequencing, provided in the insserv package.

+sequencing, provided in the insserv package. Uses format specified in +Linux Software Base to document dependencies.

+

LSB headers for insserv