Red Hat Bugzilla – Bug 638591
Ambiguity in logrotate man page (definition of "size" parameter)
Last modified: 2013-04-12 16:45:41 EDT
The definition of "size" parameter is ambiguous.
It is defined as :
"Log files are rotated when they grow bigger then size bytes."
It appears the the behaviour is :
"Log files are rotated only if they grow bigger then size bytes."
First definition does not mean that if the file size is below _size_ bytes, it won't be rotated.
Second definition means that if the file size is below _size_ bytes, it won't be rotated.
I find the second definition less confusing and closer to the actual behaviour of logrotate.
I think that the "minsize" parameter may also benefit from a disambiguation.
Created attachment 450489 [details]
Thank you. Attached patch corrects the man page.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of
Red Hat Enterprise Linux. The error has been fixed and this
request has been re-proposed for the current release.
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.