Bug 32705

Summary: Unnecessary re-execution of post-rotate scripts
Product: [Retired] Red Hat Linux Reporter: Viraj Alankar <valankar>
Component: apacheAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-06-21 20:11:36 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:

Description Viraj Alankar 2001-03-22 15:47:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-3 i686)


Looking at /etc/logrotate.d/apache, I see that a HUP is being sent to httpd
for every logfile. This seems like it is unnecessary. Why not have the
logrotate program keep track of what post-rotate script would be run for
all rotations, and if they are identical scripts, just run it once and not
every time. When many virtual hosts are used with many logfiles, the
sending of so many HUPs seems unnecessary.

Reproducible: Always
Steps to Reproduce:
Not really a bug, but feature request, so there are no steps.

Comment 1 Erik Troan 2001-06-21 20:18:14 UTC
This is in the logrotate man page (which doesn't make it right, but it's not
going to be fixed soon).