X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/4ed7f7fb14bcceea29c68f22ef186a06e2af50f7..9957ad5ab76927795a9a059d5033476d15f6793f:/mypapers/200802-bootsequence/200802-bootsequence.html?ds=inline 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. + +
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.
-
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. +