[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 18:47:17 UTC 2012
clone 681639 -1
reassign -1 rsyslog
severity -1 important
retitle -1 rsyslog: Please log boot messages to /var/log/dmesg
tags 681639 + pending
thanks
On Mon, Jul 16, 2012 at 09:39:26PM +0100, nyk wrote:
> On Sun, Jul 15, 2012 at 09:53:31PM +0100, Roger Leigh wrote:
> > On Sat, Jul 14, 2012 at 11:41:05PM +0100, Nyk Tarr wrote:
> > > Since the deletion of /etc/init.d/bootlogs, as far as I can see there is
> > > nothing updating /var/log/dmesg.
> > >
> > > please re-instate bootlogs.
> >
> > This should be handled by rsyslogd. Is the content of /var/log/dmesg
> > not present in the standard system logs such as /var/log/kern.log?
> > This was removed because it was redundant, duplicating existing
> > functionality. Is this not the case for your system?
>
> Not really, no.
>
> /var/log/dmesg contains the boot message from the startup of the running
> kernel and is rotated for each _boot_. /var/log/kern.log contains the last
> few weeks of kernel messages as it is rotated weekly.
>
> On a box that has been up for more than 28 days, it seems that there
> will be absolutely no record of the kernel boot sequence at all. This
> is a bit disappointing.
>
> As far as I can see, Ubuntu added /var/log/dmesg to rsyslog in
> 5.8.6-1ubuntu1 https://launchpad.net/ubuntu/+source/rsyslog/5.8.6-1ubuntu1/
> but I can't find any trace of it in the Debian package.
>
> Initscripts' postinst still creates /var/log/dmesg and removes it in
> postrm. Feel free to reassign this bug to rsyslog et al. but it might
> be an idea if you stopped doing that first.
Fixed in sysvinit git, pending upload.
Michael, would it be possible to pick up the Ubuntu patch for
logging /var/log/dmesg in rsyslog for wheezy? I've set the
severity to important, but it could be higher given that this
is potentially quite important.
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