Bug 638629

Summary: Ambiguity in logrotate man page (definition of "size" parameter)
Product: [Fedora] Fedora Reporter: Jan Kaluža <jkaluza>
Component: logrotateAssignee: Jan Kaluža <jkaluza>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: jkaluza, rhn, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 638591 Environment:
Last Closed: 2010-09-29 15:02:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 638591    
Bug Blocks: 638625, 659713    

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.