-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0.beta
-
None
-
None
-
None
-
rhel-sst-security-special-projects
-
ssg_security
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
In aide path reference for aplying rules should not end with '/'
Please provide the package NVR for which bug is seen:
aide-0.18.6-5.el10.x86_64
How reproducible:
Always, run test scenario on RHEL-10 with selected package.
Steps to reproduce
- git clone https://gitlab.cee.redhat.com/special-projects/tests/aide.git
- in working dir $ tmt --context distro=rhel-10.0 run plan --default -vvv prepare discover -h fmf -t /Regression/bz174 -vv provision -h connect --guest IP -u USER -p PASSWORD execute --how tmt --interactive login finish
Expected results
:: [ 11:49:22 ] :: [ BEGIN ] :: No path reference ends with '/' :: actually running 'egrep '^(/|!/)' /etc/aide.conf | cut -f1 -d' ' | egrep '/$''
:: [ 11:49:22 ] :: [ PASS ] :: No path reference ends with '/' (Expected 1, got 1)
Actual results
:: [ 11:11:11 ] :: [ BEGIN ] :: No path reference ends with '/' :: actually running 'egrep '^(/|!/)' /etc/aide.conf | cut -f1 -d' ' | egrep '/$''
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
/etc/bash_completion.d/
/etc/profile.d/
/etc/X11/
/etc/yum/
/etc/yum.repos.d/
/etc/audit/
/etc/cron.d/
/etc/cron.daily/
/etc/cron.hourly/
/etc/cron.monthly/
/etc/cron.weekly/
/etc/grub/
:: [ 11:11:11 ] :: [ FAIL ] :: No path reference ends with '/' (Expected 1, got 0)
[1] https://artifacts.osci.redhat.com/testing-farm/b9e11f6a-7a76-412a-b069-c5aeb14ada6d/work-general5ghbqq28/Plans/general/execute/data/guest/default-0/Downstream_aide_tests/Regression/bz1740754-make-all-directory-references-consistent-in-aide-conf-10/output.txt