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

Nicholas Tarr nyk at giantx.co.uk
Tue Jul 17 20:30:29 UTC 2012


On Tue, July 17, 2012 19:09, Michael Biebl wrote:
> 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.
>

That was just a changelog to show that Ubuntu had added the /var/log/dmesg
management to their rsyslog package. This might be the actual patch but
it's buried in tons of other stuff:
http://markmail.org/download.xqy?id=riloisss3gragiu2&number=1
It seems to use upstart so I'm not sure it's any use here???


Personally, I don't care which package manages this log file, I just want
it back!

Thanks,
Nyk
-- 
/__
\_|\/
   /\         Via webmail



More information about the Pkg-sysvinit-devel mailing list