[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 21:18:53 UTC 2012


Hi,

On 17.07.2012 22:30, Nicholas Tarr wrote:
> 
> 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?
...
>>>
>>> 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???
> 

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.

Michael



-- 
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/17c602f4/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list