Bug 1400548

Summary: aide prints strange characters to the output when reporting configuration error
Product: Red Hat Enterprise Linux 7 Reporter: Karel Srot <ksrot>
Component: aideAssignee: Radovan Sroka <rsroka>
Status: CLOSED ERRATA QA Contact: Martin Zelený <mzeleny>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: dkopecek, mzeleny, rsroka
Target Milestone: rcKeywords: Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1405993 (view as bug list) Environment:
Last Closed: 2017-08-01 22:19:45 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:
Attachments:
Description Flags
patch none

Description Karel Srot 2016-12-01 13:22:35 UTC
Description of problem:

when aide.conf has some error, aide prints strange characters to the stdout.

1.
put e.g.
/boot/ FOO
to /etc/aide.conf

2.
# aide -i
99:Error in expression:��A��
Configuration error


Version-Release number of selected component (if applicable):
aide-0.15.1-11.el7.x86_64

Comment 1 Radovan Sroka 2017-03-20 16:14:32 UTC
Created attachment 1264787 [details]
patch

Comment 4 Martin Zelený 2017-06-22 11:32:52 UTC
Manually successfully verified:

OLD:
aide-0.15.1-11.el7.x86_64.rpm

ouput:
# aide -i
314:Error in expression:�vͼ�
Configuration error


NEW:
aide-0.15.1-13.el7.x86_64.rpm

output:
# aide -i
314:Error in expression: FOO
Configuration error

Comment 5 errata-xmlrpc 2017-08-01 22:19:45 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.

https://access.redhat.com/errata/RHBA-2017:2050