Bug 574784

Summary: logrotate doesn't prevent recursive includes
Product: Red Hat Enterprise Linux 5 Reporter: Daniel Novotny <dnovotny>
Component: logrotateAssignee: Jan Kaluža <jkaluza>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: azelinka, mmalik, ovasik, rvokal, tsmetana
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: logrotate-3.7.4-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 440036 Environment:
Last Closed: 2011-05-18 14:57:28 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: 440036    
Bug Blocks:    
Attachments:
Description Flags
limit backported to rhel5 version of logrotate none

Comment 1 Tomas Smetana 2010-03-18 15:18:07 UTC
Note the upstream version prevents infinite recursion by limiting the nesting depth.  See commit #254:

https://fedorahosted.org/logrotate/changeset/254

Comment 2 Daniel Novotny 2010-03-18 15:26:16 UTC
Created attachment 401045 [details]
limit backported to rhel5 version of logrotate

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

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