Package: initscripts Version: 2.86.ds1-1 Severity: wishlist Please add init.d dependency information for the init.d scripts in the initscripts package, to make it possible to check and verify the current boot sequence, and also to make it possible to know which boot scripts to run in parallel when modifying the boot system to run in parallel.
There is an LSB specification on how to add such information as comments at the top of these scripts. I recommend using this format as there are existing tools to use these headers to reorder the boot sequence and to boot in parallel. This is an example: ### BEGIN INIT INFO # Provides: urandom # Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 # Short-Description: This script saves the random seed between reboots. # Description: ### END INIT INFO More info on the format is available from <URL:http://wiki.debian.net/?LSBInitScripts>. I have draft comments included in the insserv package, but there are probably still bugs in it, so I do not include a patch. These are the dependencies included in the insserv package: ### BEGIN INIT INFO # Provides: bootclean # Required-Start: $network # Required-Stop: $network # Default-Start: 1 2 3 4 5 # Default-Stop: S 0 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: bootlogd # Required-Start: mountvirtfs # Required-Stop: # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: bootmisc # Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 1 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: checkfs # Required-Start: modutils checkroot # Required-Stop: # Should-Start: lvm # Should-Stop: lvm # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: checkroot # Required-Start: keymap hwclockfirst # Required-Stop: # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: halt # Required-Start: # Required-Stop: # Should-stop: lvm # Default-Start: 0 # Default-Stop: # Short-Description: # Description: ### END INIT INFO ### BEGIN INIT INFO # Provides: hostname # Required-Start: # Required-Stop: # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: mountall # Required-Start: checkfs # Required-Stop: # Should-Start: lvm # Should-Stop: lvm # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: mountnfs nfs # Required-Start: $network $local_fs # Required-Stop: # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: mountvirtfs # Required-Start: # Required-Stop: # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: reboot # Required-Start: # Required-Stop: # Should-Stop: lvm raid2 # Default-Start: # Default-Stop: 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: rmnologin # Required-Start: $local_fs # Required-Stop: # Should-Start: $time $remote_fs # Should-Stop: # Default-Start: S 1 2 3 4 5 # Default-Stop: ### END INIT INFO ### BEGIN INIT INFO # Provides: sendsigs # Required-Start: # Required-Stop: # Default-Start: 6 # Default-Stop: # Short-Description: # Description: ### END INIT INFO ### BEGIN INIT INFO # Provides: single # Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: S # Default-Stop: 0 1 2 3 4 5 6 ### END INIT INFO ### BEGIN INIT INFO # Provides: umountfs # Required-Start: # Required-Stop: # Default-Start: 6 # Default-Stop: ### END INIT INFO ### BEGIN INIT INFO # Provides: umountnfs # Required-Start: # Required-Stop: # Default-Start: 6 # Default-Stop: ### END INIT INFO ### BEGIN INIT INFO # Provides: urandom # Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: S 1 2 3 4 5 # Default-Stop: 0 6 ### END INIT INFO Several of the scripts are not proper init.d scripts (do not take arguments start and stop), and are thus a bit harder to specify in this format. I believe I got most of it right, but there are probably bugs too. :) -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.12-1-686 Locale: LANG=nb_NO, LC_CTYPE=nb_NO (charmap=ISO-8859-1) Versions of packages initscripts depends on: ii coreutils 5.2.1-2 The GNU core utilities ii dpkg 1.10.28 Package maintenance system for Deb ii e2fsprogs 1.37-2sarge1 ext2 file system utilities and lib ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii mount 2.12p-4 Tools for mounting and manipulatin ii util-linux 2.12p-4 Miscellaneous system utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]