Bug 218388 - Logrotate should rotate logs even if there are some errors on the configuration
Logrotate should rotate logs even if there are some errors on the configuration
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: logrotate (Show other bugs)
4.4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Smetana
Jay Turner
:
Depends On: 166510
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-04 18:54 EST by Xixi
Modified: 2015-01-07 19:15 EST (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2008-0703
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-24 15:52:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Comment 7 Jason Haar 2007-02-26 22:28:12 EST
I think this is a "me too".


We had a rpm install of snort, where we later reconfigured it so that it didn't
write logfiles under /var/log/snort/*/* - as refered to in it's logrotate.d file.

However, when logrotate runs, it can't find any subdirs under /var/log/snort (as
we had deleted them), AND IT EXITED - CEASING TO RUN OTHER logrotate FILES!!

We found out a week later when the huge (un-rotated) squid logfiles crashed
squid :-/

i.e if you have a logrotate config file that refers to files in directories that
don't exist, logrotate exits, not running any remaining logrotate jobs. I don't
know if this is an exact match for this ticket - but I assume so?


I think there should be no such dependencies. The status of one logrotate config
file should not impact any others. Isn't that the point of RPMs - keep things
nice and separate?

Thanks!

Jason
Comment 10 Tomas Smetana 2007-08-03 05:58:58 EDT
It seems to be too late for 4.6, moving to 4.7.
Comment 11 RHEL Product and Program Management 2007-11-28 23:23:03 EST
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.
Comment 19 errata-xmlrpc 2008-07-24 15:52:05 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0703.html

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