Bug 87856
Summary: | logrotate scripts don't tell mailman to reopen its log files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | James Henstridge <james> | ||||
Component: | mailman | Assignee: | John Dennis <jdennis> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-04-23 18:53:58 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
James Henstridge
2003-04-03 07:28:27 UTC
Created attachment 90894 [details]
updated logrotate script
The above replacement logrotate script should do a better job of rotating the
logs. It will call "mailmanctl reopen" after performing the rotation.
It also adds "smtp" and "qrunner" to the list of logs to rotate (those two logs
were not getting rotated on my setup).
One small addition to the script. The postrotate script should probably run the following: /var/mailman/bin/mailmanctl reopen >/dev/null 2>&1 || true mailmanctl prints a status message after running. Thank you. I'm integrating your fixes now into the next rpm. |