Bug 1400548 - aide prints strange characters to the output when reporting configuration error
Summary: aide prints strange characters to the output when reporting configuration error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: aide
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Radovan Sroka
QA Contact: Martin Zelený
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-01 13:22 UTC by Karel Srot
Modified: 2017-08-01 22:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1405993 (view as bug list)
Environment:
Last Closed: 2017-08-01 22:19:45 UTC
Target Upstream Version:


Attachments (Terms of Use)
patch (414 bytes, patch)
2017-03-20 16:14 UTC, Radovan Sroka
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2050 0 normal SHIPPED_LIVE aide bug fix and enhancement update 2017-08-01 19:33:41 UTC

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


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