Simple parallellized boot sequence (and a plea for LSB complience)

Petter Reinholdtsen pere at hungry.com
Wed Aug 24 21:29:54 UTC 2005


I did some more work on handling dependencies, and made a package from
the SuSe tool insserv (wnpp #324926), including dependency information
for several of the common init.d scripts in use in debian.  It is
capable of reorganizing the boot sequence in a way that actually speed
up the boot process.

To test this, install the package from
<URL:http://developer.skolelinux.no/~pere/debian/>, copy the
parallelizing rc scripts in place, run the script to reorganize all
rc#.d/ symlinks, and reboot.

In short:

  dpkg -i http://developer.skolelinux.no/~pere/debian/insserv_1.00.8-0.0.pere.2_i386.deb
  cp /usr/share/doc/insserv/examples/rc /etc/init.d/rc
  cp /usr/share/doc/insserv/examples/rcS /etc/init.d/rcS
  insserv -v
  # At this point, I recommend examining the order in /etc/rcS.d/ and
  # /etc/rc2.d/ carefully, to verify that the configuration actually
  # will boot.  Update /etc/insserv/overrides/ or
  # /usr/share/insserv/overrides/ with better dependency information
  # if the boot order is incorrect.
  shutdown -r now

Please let me know if you have better dependency info for some
scripts, or got dependency info for new scripts.

It seem to me that suse got code in place to run boot scripts in
parallel.  Check out
<URL:http://www.sourcentral.org/man/SUSE93/8+startpar>.  Perhaps
something to steal?




More information about the initscripts-ng-devel mailing list