From: Petter Reinholdtsen 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)
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:
An implementation of this system is the dependency based boot
-sequencing, provided in the insserv package.The ordering problem - an example
+
+
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
script_a start seq 3, stop seq 1