Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-39959

Aide - path reference ends with '/' in aide.conf

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • aide
    • None
    • None
    • None
    • sst_security_special_projects
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • 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

      1. git clone https://gitlab.cee.redhat.com/special-projects/tests/aide.git 
      2. 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 

            rsroka@redhat.com Radovan Sroka
            pkoncity2 Patrik Končitý
            Radovan Sroka Radovan Sroka
            SSG Security QE SSG Security QE
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: