Red Hat Bugzilla – Bug 638625
Ambiguity in logrotate man page (definition of "size" parameter)
Last modified: 2011-05-19 10:28:51 EDT
+++ This bug was initially created as a clone of Bug #638591 +++
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 450492 [details]
Attached patch corrects the man page.
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.