Bug 32705 - Unnecessary re-execution of post-rotate scripts
Summary: Unnecessary re-execution of post-rotate scripts
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apache   
(Show other bugs)
Version: 6.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: David Lawrence
Keywords: FutureFeature
Depends On:
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:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-06-21 20:11:36 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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.