Description of problem: In the manual, the default state file is said as /var/lib/logrotate/status. I suppose this file must be obsolete, and the right one is /var/lib/logrotate.status. Version-Release number of selected component (if applicable):logrotate 3.7.4 How reproducible:check man page Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 160221 [details] This is the patch fixing this bug.
Comment on attachment 160221 [details] This is the patch fixing this bug. diff -Nraup logrotate-3.7.4/logrotate.8 logrotate-prep/logrotate.8 --- logrotate-3.7.4/logrotate.8 2007-07-30 01:03:55.000000000 +0800 +++ logrotate-prep/logrotate.8 2007-07-30 01:05:07.000000000 +0800 @@ -57,7 +57,7 @@ and mail it to the recipient. The defaul \fB-s, -\-state <statefile>\fR Tells \fBlogrotate\fR to use an alternate state file. This is useful if logrotate is being run as a different user for various sets of -log files. The default state file is \fI/var/lib/logrotate/status\fR. +log files. The default state file is \fI/var/lib/logrotate.status\fR. .TP \fB-\-usage\fR
OK. If logrotate gets approved for 5.2, it's going to have also a man page updated.
And... In the sample configuration in the manpage there is: size=100k which is also wrong (no '=').
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 the 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-2007-1002.html