[Pkg-sysvinit-devel] Bug#538936: /etc/init.d/bootlogd: [BOOTLOGD] bootlogd should start before hwclock
Josh Triplett
josh at joshtriplett.org
Tue Jul 28 15:05:36 UTC 2009
On Tue, Jul 28, 2009 at 09:13:17AM +0200, Petter Reinholdtsen wrote:
> [Josh Triplett]
> > On my system, after insserv ran:
> >
> > lrwxrwxrwx 1 root root 18 2009-07-27 19:15 S04bootlogd -> ../init.d/bootlogd
> > lrwxrwxrwx 1 root root 20 2009-07-27 19:15 S04hwclock.sh -> ../init.d/hwclock.sh
> > lrwxrwxrwx 1 root root 25 2009-07-27 19:15 S04hwclockfirst.sh -> ../init.d/hwclockfirst.sh
> >
> > This seems wrong.
>
> If you are talking about the hwclock stuff, it is wrong and a bug that
> need to be fixed in util-linux (#520607). The problem is not fatal -
> one call will succeed and another will fail. One is sufficient. If
> you are talking about anything else, I do not understand what you are
> talking about. What seem wrong about this? Why should bootlogd start
> before hwclock*?
Not concerned about the util-linux bug here. bootlogd should start as
early as possible, to capture as many of the boot messages as possible.
For that matter, in addition to hwclock, it will also miss these:
lrwxrwxrwx 1 root root 21 2009-07-27 19:15 S01hostname.sh -> ../init.d/hostname.sh
lrwxrwxrwx 1 root root 24 2009-07-27 19:15 S01mountkernfs.sh -> ../init.d/mountkernfs.sh
lrwxrwxrwx 1 root root 14 2009-07-27 19:15 S02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 26 2009-07-27 19:15 S03mountdevsubfs.sh -> ../init.d/mountdevsubfs.sh
lrwxrwxrwx 1 root root 21 2009-07-27 19:15 S03pcmciautils -> ../init.d/pcmciautils
lrwxrwxrwx 1 root root 16 2009-07-27 19:15 S03procps -> ../init.d/procps
Of those, only mountdevsubfs and its dependencies udev and mountkernfs *need*
to start before bootlogd.
Then again, does bootlogd even work with parallel init scripts? If not,
feel free to chalk this bug up to "need replacement for bootlogd".
Hopefully the replacement will log starting from the beginning of the
boot process.
Thanks,
Josh Triplett
More information about the Pkg-sysvinit-devel
mailing list