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

Michael Biebl biebl at debian.org
Tue Jul 17 19:09:03 UTC 2012


On 17.07.2012 20:47, Roger Leigh wrote:
> 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

Which patch? The link you've given doesn't point to a patch.
I've not idea what rsyslog is supposed to do here.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120717/589c0b31/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list