Bug 638625 - Ambiguity in logrotate man page (definition of "size" parameter)
Ambiguity in logrotate man page (definition of "size" parameter)
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: man-pages-overrides (Show other bugs)
All Linux
low Severity low
: rc
: ---
Assigned To: Ivana Varekova
BaseOS QE - Apps
: ManPageChange
Depends On: 638591 638629
Blocks: 659713
  Show dependency treegraph
Reported: 2010-09-29 10:32 EDT by Jan Kaluža
Modified: 2011-05-19 10:28 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 638591
: 659713 (view as bug list)
Last Closed: 2011-05-19 10:28: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)
proposed patch (575 bytes, patch)
2010-09-29 10:37 EDT, Jan Kaluža
no flags Details | Diff

  None (edit)
Description Jan Kaluža 2010-09-29 10:32:08 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.
Comment 1 Jan Kaluža 2010-09-29 10:37:38 EDT
Created attachment 450492 [details]
proposed patch
Comment 2 Jan Kaluža 2010-09-29 10:38:02 EDT
Attached patch corrects the man page.
Comment 7 errata-xmlrpc 2011-05-19 10:28:51 EDT
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.


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