Bug 677279
Summary: | [RFE] rotatelogs needs to create files even if they are empty | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | J.H.M. Dassen (Ray) <rdassen> | |
Component: | httpd | Assignee: | Jan Kaluža <jkaluza> | |
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | 5.6 | CC: | bgollahe, csuleski, dapospis, jkaluza, jorton, ohudlick, rbinkhor, syeghiay | |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | httpd-2.2.3-60.el5 | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 757739 (view as bug list) | Environment: | ||
Last Closed: | 2012-02-21 06:33:46 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 554476, 726419, 757739, 769266 |
Description
J.H.M. Dassen (Ray)
2011-02-14 09:10:19 UTC
Historically we have tried to keep rotatelogs as a relatively simple tool, upstream - if not perhaps strictly "as simple as possible". It's generally been preferred that more complex features are supported by third-party piped logging tools; cronolog was once popular though has not been maintained in a while. It should be possible to support the desired mode of operation with an unmodified rotatelogs by doing two things: a) running rotatelogs with the -f flag b) forcing a termination of any running rotatelogs process at the beginning of each new rotation period. We could probably support without adding too much complexity to the tool; I will propose something upstream and see how it goes down. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0261.html |