Bug 74483 - Mailman logrotate problem hard to fix
Summary: Mailman logrotate problem hard to fix
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mailman
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John Dennis
QA Contact:
URL:
Whiteboard:
: 74482 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-25 06:02 UTC by Need Real Name
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-04-24 19:47:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-09-25 06:02:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Description of problem:
This refers to known bug in logrotate/mailman pertaining to incorrect
configuration that creates an infinite number of empty files in /var/log/mailman

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Disable mailman, but keep in on the system
2. run logrotate
3. watch files in /var/log/mailman
4. try to remove these files (rm -rf /var/log/mailman works best)
5. remove mailman from system (rpm -e mailman)
6. try to run logrotate again: it takes forever!

Actual Results:  A very large number of files were created in /var/log/mailman
(300,000+ in my case), named thus:

error.1
error.1.1
error.1.1.1
etc

*BUT ALSO* a very large (17MB+) status file was created as

/var/lib/logrotate.status



Expected Results:  Logrotate takes too much time to complete (hours!)


Additional info:

To fix logrotate, one must also:

1- delete /var/lib/logrotate.status

2- run /usr/sbin/logrotate -v -f  /etc/logrotate.conf

Comment 1 John Dennis 2003-04-24 19:45:05 UTC
*** Bug 74482 has been marked as a duplicate of this bug. ***

Comment 2 John Dennis 2003-04-24 19:47:51 UTC
I believe this was due to the presence of a wildcard in the pathname for the log
files. That was removed and a new logrotate script has been implemented to match
the new log and mailman daemon behavior.


Note You need to log in before you can comment on or make changes to this bug.