First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 100243
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brian G. Peterson <brian@braverock.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100243 depends on: Show dependency tree
Bug 100243 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-25 08:47 0000
the logwatch ebuild installs a file 
/etc/cron.daily/logwatch

This file should be renamed to /etc/cron.daily/0logwatch

When logwatch and a log rotation program like logrotate are both installed, the
log rotation may happen before the logwatch scan becasue scripts in cron.* are
run in alphabetical order.

Chagning the name of the logwatch script to '0logwatch' should resolve this
problem by making the logwatch run first on the daily cron rotation.  Many other
distributions already do this, and Gentoo should follow suit.

Reproducible: Always
Steps to Reproduce:
1. emerge logwatch
2. emerge logrotate
3. set a daily log rotation cycle for logrotate (e.g. high volume site)
4. watch logwatch return nothing, as your logs have been rotated out



Expected Results:  
Logwatch should run first in the cron rotation, before any log trimming or
rotation program has an opportunity to trim/rotate the logs

------- Comment #1 From Brian G. Peterson 2005-07-25 08:49:41 0000 -------
Lowering priority from P2 to P3, as this is an ebuild change that should be
trivial to make.

------- Comment #2 From SpanKY 2005-07-25 22:19:41 0000 -------
done in 6.1.2, thanks

First Last Prev Next    No search results available      Search page      Enter new bug