Bug 484075 - logrotate "size" directive cannot exceed 1895825408 bytes
Summary: logrotate "size" directive cannot exceed 1895825408 bytes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: logrotate
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Jan Kaluža
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 602654 606715
TreeView+ depends on / blocked
 
Reported: 2009-02-04 16:46 UTC by Brandon Hutchinson
Modified: 2013-04-12 20:04 UTC (History)
3 users (show)

Fixed In Version: logrotate-3.7.4-12
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 602654 (view as bug list)
Environment:
Last Closed: 2011-05-18 14:57:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0816 0 normal SHIPPED_LIVE logrotate bug fix update 2011-05-18 14:57:14 UTC

Description Brandon Hutchinson 2009-02-04 16:46:11 UTC
Description of problem:

logrotate does not honor a "size" directive larger than 1895825408 bytes. For example, I'd like to use "size 10000M" to rotate files when they are 10G or larger. It would also be nice if logrotate honored "G" in addition to "M" and "k" for size.

Version-Release number of selected component (if applicable):
# rpm -q logrotate
logrotate-3.7.4-9

How reproducible:
Always.

Steps to Reproduce:
1. Place "size 10000M" in the configuration (e.g., /etc/logrotate.conf).
2. Run "logrotate -d /etc/logrotate.conf"
3. The value in "rotating pattern" is always capped at 1895825408 bytes.
  
Actual results:

rotating pattern: /files0/log/network.log  1895825408 bytes (9 rotations)



Expected results:

rotating pattern: /files0/log/network.log  10737418240 bytes (9 rotations)

Additional info:

Comment 3 RHEL Program Management 2010-06-24 15:35:11 UTC
Quality Engineering Management has reviewed and declined this request.  You may
appeal this decision by reopening this request.

Comment 7 RHEL Program Management 2011-01-11 20:39:26 UTC
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.

Comment 8 RHEL Program Management 2011-01-11 23:00:48 UTC
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.

Comment 13 errata-xmlrpc 2011-05-18 14:57:42 UTC
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.

http://rhn.redhat.com/errata/RHBA-2011-0816.html


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