Bug 163725 - Logrotate Fails and doesn't give enough info
Logrotate Fails and doesn't give enough info
Product: Fedora
Classification: Fedora
Component: logrotate (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
Depends On:
  Show dependency treegraph
Reported: 2005-07-20 13:38 EDT by Scott Baker
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-27 04:32:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Scott Baker 2005-07-20 13:38:12 EDT
Description of problem:
If logrotate fails running a postrotate script, it doesn't indicate in the
output which failed.

Steps to Reproduce:
1. Create or Edit a Logrotate entry
2. Add a postrotate script that will fail. something like /bin/false
3. Wait for logrotate to run and get the error message below
Actual results:

error: error running postrotate script

Expected results:
Something like:

error: error running postrotate script for /var/log/messages

Additional info:
Presumably it will fail on a prerotate script too, but I haven't tested that.

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