Bug 32705 - Unnecessary re-execution of post-rotate scripts
Summary: Unnecessary re-execution of post-rotate scripts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apache
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-03-22 15:47 UTC by Viraj Alankar
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-06-21 20:11:36 UTC
Embargoed:


Attachments (Terms of Use)

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).


Note You need to log in before you can comment on or make changes to this bug.