Bug 997382
Summary: | Recursive log file rotation | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | DaveG <daveg> |
Component: | privoxy | Assignee: | Gwyn Ciesla <gwync> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | gwync |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | privoxy-3.0.21-6.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-24 00:02:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
privoxy-3.0.21-6.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/privoxy-3.0.21-6.fc19 privoxy-3.0.21-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/privoxy-3.0.21-6.fc18 Package privoxy-3.0.21-6.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing privoxy-3.0.21-6.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-14836/privoxy-3.0.21-6.fc19 then log in and leave karma (feedback). privoxy-3.0.21-6.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. privoxy-3.0.21-6.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Log file rotation script (/etc/logrotate.d/privoxy) uses a wild-card selector. This results in recursive rotation of already rotated files with the standard logrotate configuration. Extra rotated log files are zero size. Version-Release number of selected component (if applicable): Spotted on F18, still in privoxy.git master on pkgs.fedoraproject.org. How reproducible: install and use privoxy, run logrotate. Actual results: ls /var/log/privoxy logfile logfile-date1 logfile-date1-date2 logfile-date1-date2-date3 ... logfile-date2 ... Expected results: logfile logfile-date1 logfile-date2 ... Additional info: The log file name is set in the packaged configuration so the logrotate script can hard-code the full path name: # diff /etc/logrotate.d/privoxy.orig /etc/logrotate.d/privoxy 1c1 < /var/log/privoxy/* { --- > /var/log/privoxy/logfile {