Bug 813084

Summary: rsyslog segfaults when configured with disk queue with non-existent (unnamed) spool file
Product: Red Hat Enterprise Linux 6 Reporter: Tomas Heinrich <theinric>
Component: rsyslogAssignee: Tomas Heinrich <theinric>
Status: CLOSED ERRATA QA Contact: Dalibor Pospíšil <dapospis>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2CC: azelinka, dapospis, jrieden, pvrabec
Target Milestone: rc   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In certain error cases, deinitialization of nonexistent data took place. When configured to use a disk assisted queue without specifying a spool file, the daemon aborted. The code was modified to handle the error cases gracefully. The daemon doesn't abort when the above mentioned error occurs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 06:59:07 UTC Type: Bug
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:    
Bug Blocks: 805204    

Description Tomas Heinrich 2012-04-16 20:23:25 UTC
Version-Release number of selected component (if applicable):
rsyslog 5.8.7 and older.

Steps to Reproduce:
/tmp/rsyslog.conf:
  $actionqueuetype disk
  *.* /tmp/all.log
Run
$ /sbin/rsyslogd -c 5 -dnf /tmp/rsyslog.conf

<...>
Aborted (core dumped)

Additional info:
Will be fixed by a rebase to upstream version 5.8.10.

Comment 4 Tomas Heinrich 2012-05-03 17:26:48 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
In certain error cases, deinitialization of nonexistent data took place.
When configured to use a disk assisted queue without specifying a spool file, the daemon aborted.
The code was modified to handle the error cases gracefully.
The daemon doesn't abort when the above mentioned error occurs.

Comment 7 errata-xmlrpc 2012-06-20 06:59:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0796.html