Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1806323 - AIDE breaks when setting report_ignore_e2fsattrs
Summary: AIDE breaks when setting report_ignore_e2fsattrs
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: aide
Version: 8.0
Hardware: All
OS: Linux
Target Milestone: rc
: 8.0
Assignee: Attila Lakatos
QA Contact: Dalibor Pospíšil
Depends On:
TreeView+ depends on / blocked
Reported: 2020-02-23 19:50 UTC by Oliver Freyermuth
Modified: 2020-11-04 03:16 UTC (History)
6 users (show)

Fixed In Version: aide-0.16-12.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1850276 (view as bug list)
Last Closed: 2020-11-04 03:16:26 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github aide aide issues 65 0 None closed Setting report_ignore_e2fsattrs yields many warnings 2020-12-02 09:00:36 UTC
Red Hat Product Errata RHBA-2020:4718 0 None None None 2020-11-04 03:16:30 UTC

Description Oliver Freyermuth 2020-02-23 19:50:02 UTC
Description of problem:

Ignore invalid ext2 file attribute: 'J'
Ignore invalid ext2 file attribute: 'K'
Ignore invalid ext2 file attribute: 'L'
Ignore invalid ext2 file attribute: 'M'
Ignore invalid ext2 file attribute: 'O'
Ignore invalid ext2 file attribute: 'P'
Ignore invalid ext2 file attribute: 'Q'
Ignore invalid ext2 file attribute: '�'
and disables any e2fsattrs with character codes larger than "I". 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add line to configuration. 
2. Run "aide --check". 

Actual results:
Warnings, wrong behaviour.

Expected results:
Setting to be honoured.

Additional info:
Upstream bug report:

Comment 1 Oliver Freyermuth 2020-02-25 19:22:24 UTC
More information:
The issue is not reproducible with upstream AIDE 0.16. 

It is introduced by coverity.patch which performs the following change:

> @@ -984,7 +991,7 @@ void do_report_ignore_e2fsattrs(char* va
>                   break;
>              }
>          }
> -        *val++;
> +        (*val)++;
>      }
>  }
>  #endif

The "*" was actually _not_ wanted by upstream, and has now been dropped in:

While it was a "harmless" (but confusing) syntax before, coverity has made it harmful.

Comment 9 errata-xmlrpc 2020-11-04 03:16:26 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 (aide bug fix and enhancement update), and where to find the updated
files, follow the link below.

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


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