Bug 9058 - logrotate configuration problem
Summary: logrotate configuration problem
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: junkbuster
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Powers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-02-02 03:21 UTC by mck
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-02-02 17:22:33 UTC
Embargoed:


Attachments (Terms of Use)

Description mck 2000-02-02 03:21:03 UTC
Someone must have seen this one but it reappears in each new version,
so I'll make an "official" report.  The following file is included in the
rpm as junkbuster.logrotate to be placed in /etc/logrotate.d:

# Logrotate file for Junkbuster RPM

/var/log/junkbuster/* {
	compress
        weekly
}

Specifying * as the file(s) to be rotated results in a geometric growth
of the number of files in /var/log/junkbuster because each run of
logrotate rotates each _generation_ of the log file instead of just the
base file.   The corrected configuration file should, of course, look
like this:

# Logrotate file for Junkbuster RPM

/var/log/junkbuster/junkbuster{
	compress
        weekly
}

Comment 1 Tim Powers 2000-02-02 17:22:59 UTC
OK. I have patched to fix the problem. You should see it in rawhide soon.

Tim


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