Logrotate is noisy with: Re-opening all log files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Undecided
|
Unassigned | ||
mailman (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mailman
When logrotate runs for mailman you get this:
/etc/cron.
Re-opening all log files
Re-opening all log files
It calls mailmanctl reopen. If it called it with a -q it would be quiet.
IMPACT: when rotating the mailman logfiles, 'mailmanctl reopen' is called
from /etc/logrotate.
For every call, mailman prints message "Re-opening all log files", which
gets sent to the user in a (useless) email.
This was fixed upstream in mailman 2.1.9-10 and Karmic has 2.1.12-2.
TEST CASE:
- install mailman (apt-get install mailman)
- create the default mailman list with the following command:
newlist mailman
- start mailman (/etc/init.
files in /var/log/mailman
- force a logrotate of these files by running:
logrotate -f /etc/logrotate.
- you should see the following output:
root@utest-
Re-opening all log files
Re-opening all log files
This is called from crontab so there will be an email sent to users every
time.
- install the patched version, and run the above command again, it should
be quiet, without any messages.
REGRESSION POTENTIAL: low. According to the mailmanctl help page:
-q/--quiet
Don't print status messages. Error messages are still printed to
standard error.
By applying this patch, users will not get the informational messages
but they will still get any error message.
Related branches
tags: |
added: verification-done removed: verification-needed |
This has been fixed since 1:2.1.9-10