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

Aide don's store more detailed information to /var/log/aide/aide.log

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 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?

      Aide don't store debug information to /var/log/aide/aide.log.

      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://github.com/RedHat-SP-Security/aide-tests.git 
      2. in working dir $ tmt --context distro=rhel-10.0 run plan --default -vvv prepare discover -h fmf -t /Regression/bz84 -vv provision -h connect --guest IP -u USER -p PASSWORD execute --how tmt --interactive login  finish

      Expected results

      :: [ 03:22:20 ] :: [  BEGIN   ] :: Running 'cat /var/log/aide/aide.log | grep 'Old db contains a (file|entry) that shouldn.t be there''
      WARNING: Old db contains a entry that shouldn't be there, run --init or --update
      :: [ 03:22:20 ] :: [   PASS   ] :: Command 'cat /var/log/aide/aide.log | grep 'Old db contains a (file|entry) that shouldn.t be there'' (Expected 0, got 0) 

      Actual results

      :: [ 11:09:09 ] :: [ BEGIN ] :: Running 'cat /var/log/aide/aide.log | grep 'Old db contains a (file|entry) that shouldn.t be there'' :: [ 11:09:09 ] :: [ FAIL ] :: Command 'cat /var/log/aide/aide.log | grep 'Old db contains a (file|entry) that shouldn.t be there'' (Expected 0, got 1) Fri May 31 11:09:40 AM EDT 2024

       [1] https://artifacts.osci.redhat.com/testing-farm/b9e11f6a-7a76-412a-b069-c5aeb14ada6d/work-general5ghbqq28/Plans/general/execute/data/guest/default-0/Upstream_aide_tests/Regression/bz842689-TestOnly-test-logrotate-script-functionality-2/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:
            2 Start watching this issue

              Created:
              Updated: