Deliverables 3 and 5 (SoC2006)

Petter Reinholdtsen pere at
Wed Sep 6 23:10:37 UTC 2006

[Petter Reinholdtsen]
> I notice you tried a few things with reordering.  I've tested insserv
> recently myself, and discovered my accident that it will do a very
> poor job if it claim to find loops in the dependency graph.

And there is such loop in the dependency graph today.  I investigated
it this evening, and believe I found the problem in init.d/
By editing /etc/init.d/ and
/usr/share/insserv/overrides/, and removing '$syslog' from
the LSB header, I believe insserv should be able to to a better job
reordering the boot sequence.

To detect the loop, I looked for upward-pointing arrays in the graph
displayed when running

  /usr/share/insserv/check-initd-order -g > bootorder.dotty
  dotty bootorder.dotty

After identifying the loop, I had a look at the scripts involved and
discovered that was expected to run early, but depended on
syslog which starts very late (in runlevel 2, actually).

The dependency bug is reported as #386338.  JFYI.

Petter Reinholdtsen

More information about the initscripts-ng-devel mailing list