[Pkg-sysvinit-devel] Bug#681639: [nyk: Re: Bug#681639: initscripts: no longer updates /var/log/dmesg]

Roger Leigh rleigh at codelibre.net
Tue Jul 17 21:52:18 UTC 2012


On Tue, Jul 17, 2012 at 11:18:53PM +0200, Michael Biebl wrote:
> So, to recap:
> - /etc/init.d/bootlogs was removed from sysvinit because it apparently
> duplicated the contents of /var/log/kern.log
> - due to different log rotation behaviour, the log messages of the boot
> process are lost for machines which are long-running
> - now rsyslog should add back /etc/init.d/bootlogs because we don't want
> to lose that feature.
> 
> I don't see the logic in that. Can't sysvinit just re-add
> /etc/init.d/bootlogs if this is a feature we want to continue to provide?
> 
> Please note that we also have other syslog implementations, like
> syslog-ng, sysklogd, inetutils-syslogd.
> Each of those syslog packages would have to re-add the /var/log/dmesg
> handling.

We removed the bootlogs script because it was believed to be made
redundant by modern logging daemons.  However, this was not taking
into account the fact that even though the information is logged,
it is eventually rotated and lost.

I've assigned it to rsyslog as the default logging daemon, and
because Nicholas said that it was already doing this in Ubuntu.
We can certainly re-add the bootlogs script in initscripts if
this is still needed, and is the best place for it.  Otherwise,
I can file additional bugs against the other loggers.
An alternative would be to add this to bootlogd, though I'm not
sure if that's necessarily a good idea or not.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Pkg-sysvinit-devel mailing list