Bug 86491
Summary: | tripwire-friendly logfile rotation | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Michael Weiser <mweiser> | ||||
Component: | logrotate | Assignee: | Peter Vrabec <pvrabec> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.0 | Keywords: | FutureFeature | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.7.1-12 | Doc Type: | Enhancement | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-09-19 15:22:56 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
Michael Weiser
2003-03-24 10:16:27 UTC
The Right Solution(tm) is to have tripwire ignore files, such as logfiles, which are expected to change. I'm not planning to code the feature myself, but I would take a patch to implement your suggestion as a non-default option. Created attachment 94938 [details]
add option to count upwards when renaming logfiles
Sorry for taking so long to respond. I've sat down now and created a first
patch that adds a countup option to logrotate and last rotate index to the
state file. I've written tests for it and it seems to work but I know it at
least breaks the mailing of the dispose file because of operations odering in
rotateSingleLog. So before I dig any deeper into it I'd like to know if this is
the right direction to go. What d'you think?
see: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=108775 Won't this "dateext" option help you? It does indeed. Thanks for getting back to me. This bug can be closed then. I'm sorry I can't do it. My old bugzilla account seems to have expired. |