tags 491391 + patch
thanks

Hi Michael!

I cc:ed Petter since I don't think this is not only a bug in bootchart,
but also in insserv.

On Sat, 19 Jul 2008 06:13:59 +0200, Michael Biebl wrote:
> when I enabled dependency based booting (via insserv), the bootchart
> start-script has priority S20. A lot of services are started after S20
> (my boot sequence ends at S25).
>
> Imo the correct LSB header is
> # Required-Start:    $remote_fs $all
>
> This , according to [1], makes bootchart start after all other
> scripts.
>
> As rmnologin also has
> Required-Start: $all,
> bootchart will also get S25. I guess this is correct behaviour of
> insserv, even if that means that bootchart is not the last script that
> is run.

According to [1], I'd say that bootchart is correct, since it should be
started after rmnologin:

  # Required-Start:    $remote_fs rmnologin

However, the above line seems to do nothing and this is real bug.  In
fact, it happens also /etc/init.d/stop-bootlogd, which has exactly the
same Required-Start line.

Finally, since bootchart should be stopped *after* stop-bootlogd, the
correct LSB header is:

  # Required-Start:    $remote_fs stop-bootlogd

Thx, bye,
Gismo / Luca

Footnotes:
[1] http://wiki.debian.org/LSBInitScripts

Attachment: pgpIDvCD2MZE2.pgp
Description: PGP signature

Reply via email to