Logfile defintions wrong after changes to logfile rotation in Ubuntu Lucid

Bug #606715 reported by Oliver Brakmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
logwatch (Ubuntu)
Fix Released
Medium
Thierry Carrez
Maverick
Fix Released
Medium
Thierry Carrez

Bug Description

Binary package hint: logwatch

Hi,

as mentioned in the release notes for Ubuntu 10.04 (https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Syslog%20upgrade), the latest rotated logfile receives the extension .1, whereas in previous releases it was .0.

Many of the logfile definitions in /usr/share/logwatch/{default,dist}.conf/logfiles are wrong because of this:
default.conf:
$ grep '^LogFile.*.0$' *
daemon.conf:LogFile = daemon.log.0
kernel.conf:LogFile = kern.log.0
maillog.conf:LogFile = mail.log.0
secure.conf:LogFile = auth.log.0
syslog.conf:LogFile = syslog.0

dist.conf:
maillog.conf:LogFile = mail.log.0
messages.conf:LogFile = messages.0

Due to this, logwatch reports contain only half the truth.

I know this is easily fixed locally, but I am of the opinion that it should work out of the box.

Thanks for listening!

Tags: server-mrs

Related branches

Thierry Carrez (ttx)
Changed in logwatch (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Thierry Carrez (ttx)
Changed in logwatch (Ubuntu):
assignee: nobody → Thierry Carrez (ttx)
status: Confirmed → Triaged
Thierry Carrez (ttx)
tags: added: server-mrs
Thierry Carrez (ttx)
Changed in logwatch (Ubuntu Maverick):
status: Triaged → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote :

Only a change in the example files, so downgrading to Medium

Changed in logwatch (Ubuntu Maverick):
importance: High → Medium
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package logwatch - 7.3.6.cvs20090906-1ubuntu3

---------------
logwatch (7.3.6.cvs20090906-1ubuntu3) maverick; urgency=low

  * conf/logfiles/*, debian/dist.conf/logfiles/*:
    Due to migration to rsyslog, the first rotation is now .1 and not .0
    (fixes LP: #606715)
 -- Thierry Carrez (ttx) <email address hidden> Mon, 06 Sep 2010 14:57:14 +0200

Changed in logwatch (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
Nathan Crawford (njcrawford) wrote :

Can we get this fix backported to Lucid as well?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.