Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 61025 - logrotate error when extension is given
logrotate error when extension is given
Product: Red Hat Linux
Classification: Retired
Component: logrotate (Show other bugs)
All Linux
high Severity medium
: ---
: ---
Assigned To: Elliot Lee
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2002-03-12 08:31 EST by Need Real Name
Modified: 2007-03-26 23:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-02 17:57:51 EST
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 Need Real Name 2002-03-12 08:31:32 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.17-0.13 i686)

Description of problem:
I have configured daily logrotating for a customer of our company. I have turned
on compression and defined the extension .gz under RedHat 7.1 this combination
works fine.

Now under RedHat 7.2 I get some errors:

gzip: /var/log/messages.1.gz already has .gz suffix -- unchanged failed to
compress log /var/log/messages.1.gz
and so on.

Now logrotate doesn't create messages.2.gz and the logfile is lost.

When there is no parameter extension .gz in the logrotate.conf everything works

greetings markus

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. configure in logrotate.conf extension .gz
2. configure in logrotate.conf daily
3. configure in logrotate.conf compress
4. now run logrotation set the date to the next day run it again and once more
now you see my problem

Expected Results:  i have expected the same result as in redhat 7.1, there it
works perfect.

Additional info:
Comment 1 Elliot Lee 2002-04-15 16:21:13 EDT
Can't reproduce, I'm gonna take a wild guess that this has since been addressed.
Please try logrotate-3.6.4 when it shows up in rawhide.

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