How to test dependency based sysv boot system in Debian

Petter Reinholdtsen pere at hungry.com
Sat Sep 9 12:26:11 UTC 2006


With the upload of insserv version 1.08.0-4, it is fairly easy to test
a dependency based sysv boot system in Debian.  It should for the
moment only be used on scratch machines, as it is not well tested, and
depend on accurate dependency information in the init.d scripts.  The
latter is obviously missing.  To compensate, several override files
are included in insserv for the packages missing dependency
information, but I am confident there are still bugs in these.

Anyway, to enable dependency based boot sequence ordering, run this as
root:

  aptitude install insserv
  BAD_INSSERV_HACKER=true dpkg-reconfigure insserv

I've protected the enabling code with the BAD_INSSER_HACKER flag to
make sure no-one enables it by mistake while it is still experimental.
There is no turning back when this is enabled, unless it is undone
before any packages are upgraded or installed.

If you answer yes to enable the dependency based boot system, insserv
will look for dependency loops, and if it find noe, the system will be
enabled.

The symlinks in /etc/rc*.d/ will be reordered based on the available
dependency information, and update-rc.d will be replaced to a version
which inserts init.d script symlinks using the dependency information.

Please help me get the dependency information into the scripts missing
it.  Information on the format is available from
<URL:http://wiki.debian.org/LSBInitScripts>.

Friendly,
-- 
Petter Reinholdtsen




More information about the initscripts-ng-devel mailing list