Bug 702

Summary: logrotate core dump with {}
Product: [Retired] Red Hat Linux Reporter: Karl Berry <karl>
Component: logrotateAssignee: Erik Troan <ewt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: mmalik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-22 19:34:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Karl Berry 1999-01-06 13:29:59 UTC
i created an entry in /etc/logrotate.conf like this:
/var/log/named {}

logrotate dumped core, as i found out from logrotate -d.
(from cron i got a message containing just `error:'.)
it seems there must be a newline after the {.
ok (although unnecessarily verbose), but still shouldn't
crash.

Comment 1 Erik Troan 1999-03-22 19:34:59 UTC
fixed in logrotate 3.1