On Wed, Jan 23, 2019 at 07:28:45PM +0000, Dmitry Bogatov wrote: > > control: tags -1 +confirmed > > [2019-01-21 23:01] Bjarni Ingi Gislason <[email protected]> > > Package: bootlogd > > Version: 2.93-3 > > Severity: wishlist > > > > Dear Maintainer, > > > > the "bootlogd" should stop as late as possible to catch all output from > > the booting process. > > > > Currently it is in the time slot "02" but the last boot script is > > "rc.local" in "04". > > > > The "Required-Start" in "/etc/init.d/stop-bootlogd" should be changed > > from "$local_fs" to "$all" (same as for "rc.local") to start it as the > > last script. > > Yes, I see; but it is correct to have two scripts that depends on $all? > Maybe it would be better to depend on rc.local? > > Dear co-maintainers, any ideas, what uninteded side-effects it may have?
I tested the use of "rc.local" but "insserv --showall stop-bootlogd" rejected that. Using "$all" is correct, see "insserv(8)" (search for "$all"). After issuing "update-rc.d stop-bootlogd" the content for "rc.local" and "stop-bootlogd" in the file "/etc/init.d/.depend.start") is the same. The output on the terminal (use "--noclear", 1:2345:respawn:/sbin/getty --noclear 38400 tty1 in the "/etc/inittab" file) shows the same last lines as in the "/var/log/boot" file. (The last line should come from "stop-bootlogd" which is "/etc/init.d/bootlogd stop") -- Bjarni I. Gislason

