Bug 638629 - Ambiguity in logrotate man page (definition of "size" parameter)
Summary: Ambiguity in logrotate man page (definition of "size" parameter)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: logrotate
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 638591
Blocks: 638625 659713
TreeView+ depends on / blocked
 
Reported: 2010-09-29 14:34 UTC by Jan Kaluža
Modified: 2010-12-03 14:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 638591
Environment:
Last Closed: 2010-09-29 15:02:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kaluža 2010-09-29 14:34:02 UTC
+++ 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 15:02:34 UTC
Fixed in rawhide.


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