Bug 18992
Summary: | logrotate runs sharedscripts even if no logs rotated | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Alexander Kourakos <awk> | ||||||
Component: | logrotate | Assignee: | Erik Troan <ewt> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2000-10-12 19:19:55 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
Alexander Kourakos
2000-10-12 19:17:16 UTC
Created attachment 4112 [details]
a patch that fixes for postrotate only (also fixes a couple other minor things)
This isn't a bug -- this behavior is documented in the man page. If you give me a patch that fixes this for shared pre scripts as well though, I'll apply it as that's a nicer behavior. Running the pre w/o running the post is dirty though. Created attachment 4407 [details]
patch that makes pre/post only run when logs rotated
|