Petter Reinholdtsen - one of the sysvinit maintainers
pere@hungry.com
@@ -215,6 +216,52 @@ is the header for you:
$remote_fs is needed by all scripts using files in /usr/. $syslog
is needed only by scripts starting services logging to syslog.
+
What to list as dependencies II
+
+
In the common case, the start and stop dependencies are identical.
+
+
Prefer virtual dependencies over specific dependencies
+
+
Virtual facilities
+
+
Linux Software Base version 3.2 define these virtual facilities:
+
+
+
+- $local_fs
+
- all local file systems are mounted.
+
+
- $network
+
- basic networking support is available. Example: a server program
+could listen on a socket.
+
+
- $portmap
+
- daemons providing SunRPC/ONCRPC portmapping service as defined in
+RFC 1833: Binding Protocols for ONC RPC Version 2 (if present) are
+running.
+
+
- $remote_fs
+
- all remote file systems are available. In some configurations, file
+systems such as /usr may be remote. Many applications that require
+$local_fs will probably also require $remote_fs.
+
+
- $time
+
- the system time has been set, for example by using a network-based
+time program such as ntp or rdate, or via the hardware Real Time
+Clock.
+
+
- $syslog
+
- system logger is operational.
+
+
- $named
+
- IP name-to-address translation, using the interfaces described in
+this specification, are available to the level the system normally
+provides them. Example: if a DNS query daemon normally provides this
+facility, then that daemon has been started.
+
+
+
+
All of these represent points in time during boot and shutdown.
Status of dependency based boot
@@ -225,6 +272,7 @@ is needed only by scripts starting services logging to syslog.
Packages with LSB header: 654 of 866 (76%)
Unsolved BTS reports: XXX
Packages without BTS reports: ~150
+
Last package projected fixed 2008-07-19 with the current rate
Need better documentation
@@ -234,6 +282,11 @@ is needed only by scripts starting services logging to syslog.
+
References
+
+http://wiki.debian.org/LSBInitScripts
+http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
+
Thank you very much
Questions?