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

[RHEL10 Beta Testathon] aide --init WARNING: hash calculation: open() failed for <file> Operation not permitted (hashsums could not be calculated)

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • aide
    • No
    • None
    • rhel-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?

       

      Initializing the aide database produces warnings:

      1. aide --init
        WARNING: hash calculation: open() failed for /usr/lib64/rpm-plugins/fapolicyd.so: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/libexec/dnf-utils: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/nftables/examples/ct_helpers.nft: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/nftables/examples/load_balancing.nft: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/nftables/examples/secmark.nft: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/nftables/examples/sets_and_maps.nft: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/pcsc-lite/README.polkit: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-DBD-SQLite/Changes: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-DBI/perl_dbi_nulls_test.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-DBI/profile.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Digest/digest-bench: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-File-Temp/misc/benchmark.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Getopt-Long/examples/parsetime.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Getopt-Long/examples/skel1.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Getopt-Long/examples/skel2.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Getopt-Long/examples/skel3.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Getopt-Long/examples/skel4.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-HTTP-Tiny/eg/get.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-HTTP-Tiny/eg/mirror.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-HTTP-Tiny/eg/post.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-IO-Socket-IP/examples/connect.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-IO-Socket-IP/examples/nonblocking_libasyncns.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-IO-Socket-SSL/example/ssl_mitm.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Math-BigInt/examples/bigprimes.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Math-BigInt/examples/prime.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/bio.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/bulk.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/callback.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/cb-testi.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/cli-cert.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/ephemeral.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/get_authenticated_page.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/get_page.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/get_page_cert.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/https-proxy-snif.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/makecert.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/minicli.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/passwd-cb.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/ssl-inetd-serv.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/ssl_diff.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/sslcat.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/sslecho.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/stdio_bulk.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/tcpcat.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/tcpecho.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Net-SSLeay/examples/x509_cert_details.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Term-ANSIColor/examples/generate-colors: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-Text-ParseWords/CHANGES: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-URI/uri-test: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-constant/eg/synopsis.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/perl-parent/Changes: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-file-magic/example.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-libxml2/apibuild.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/astat.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/cgishell.cgi: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/chess.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/chess2.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/chess3.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/df.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/ftp.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/hive.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/monitor.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/passmass.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/python.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/script.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/ssh_tunnel.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/terminal_emulation.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/topip.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pexpect/examples/uptime.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pyatspi/magFocusTracker.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/python3-pyyaml/examples/yaml-highlight/yaml_hl.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rpm/examples/rpmls.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rpm/examples/rpmunpack.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rpm/examples/srpmspec.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/atomic-rsync: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/cvs2includes: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/file-attr-restore: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/files-to-excludes: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/git-set-file-times: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/idmap: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/json-rsync-version: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/logfilter: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/lsh: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/mnt-excl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/munge-symlinks: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/nameconvert: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/rrsync: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsync/support/rsyncstats: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/rsyslog/recover_qi.pl: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/shared-mime-info/NEWS: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/dbus-listen-preq.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/dpp-nfc.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/dpp-qrcode.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p-nfc.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/wpas-dbus-new-getall.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/wpas-dbus-new-signals.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/wpas-dbus-new-wps.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/wpas-dbus-new.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/wps-nfc.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p/p2p_connect.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p/p2p_disconnect.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p/p2p_find.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p/p2p_flush.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p/p2p_group_add.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p/p2p_invite.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p/p2p_listen.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/doc/wpa_supplicant/examples/p2p/p2p_stop_find.py: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/enscript/hl/ksh.st: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/enscript/hl/synopsys.st: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/gnome-shell/org.gnome.ScreenSaver: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/gnome-shell/org.gnome.Shell.Extensions: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/gnome-shell/org.gnome.Shell.Notifications: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/gnome-shell/org.gnome.Shell.Screencast: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/org.gnome.Characters/org.gnome.Characters: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/org.freedesktop.GeoClue2.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/sssd-pcsc.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/50-default.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/org.freedesktop.bolt.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/20-gnome-remote-desktop.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/org.a11y.brlapi.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/org.gtk.vfs.file-operations.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/org.freedesktop.fwupd.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/gnome-control-center.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/org.freedesktop.Flatpak.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/polkit-1/rules.d/20-gnome-initial-setup.rules: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/vim/vim91/autoload/rubycomplete.vim: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/vim/vim91/autoload/rust.vim: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/vim/vim91/doc/if_ruby.txt: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/vim/vim91/indent/ruby.vim: Operation not permitted (hashsums could not be calculated)
        WARNING: hash calculation: open() failed for /usr/share/vim/vim91/indent/sh.vim: Operation not permitted (hashsums could not be calculated)
        Start timestamp: 2024-09-17 10:05:38 -0700 (AIDE 0.18.6)
        AIDE successfully initialized database.
        New AIDE database written to /var/lib/aide/aide.db.new.gz

      Number of entries:    132535

      ---------------------------------------------------
      The attributes of the (uncompressed) database(s):
      ---------------------------------------------------

      /var/lib/aide/aide.db.new.gz
       MD5       : PQQuHXuwe/hwrqB0spnzXA==
       SHA1      : h6DFjG+aq3hW0liIA+3940fAq9o=
       SHA256    : Mew5X0sdNxATQY61k1A1zH7+cjT12gI6
                   Q8EI4AdyFDQ=
       SHA512    : 512zP47D+mKalxWGUtzzF12YhTPaLiPk
                   wMCZhJ0XC6JtzSbd77vQZW9HKyhkGGwz
                   x5NetNGtzZr8QDcmD0NSbQ==
       RMD160    : vG9N8cqgiMxXOe7U16PRodzkdi4=
       STRIBOG256: IKdMHEyRFiuEC2zUTQpsZ8Y1e96LFsGT
                   NirU9vDJVFU=
       STRIBOG512: F8grB+BsPxC0j4M9rsGEMxFmkhuzEwr7
                   aDeu1mk80FOk3Ad1iLOhNoYZmFOaRMxc
                   K34/p9hJFCcChl7pbujX7A==

      End timestamp: 2024-09-17 10:07:13 -0700 (run time: 1m 35s)

      What is the impact of this issue to you?

       

      The aide database appears to work correctly regardless of the warnings that are produced. 

      Please provide the package NVR for which the bug is seen:

      # cat /etc/redhat-release 

      Red Hat Enterprise Linux release 10.0 Beta (Coughlan

      # uname -r

      6.11.0-0.rc5.22.el10.x86_64

      # rpm -q aide

      aide-0.18.6-6.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. # dnf install aide
      2. # aide --init ; aide --check ; aide --update
      3. Initializing, checking or updating the aide database produces warnings:

      Expected results

      No warnings on a fresh installation or some documentation explaining the warnings.  

      Actual results

              rsroka@redhat.com Radovan Sroka
              rhn-support-spurrier Scott Spurrier
              Radovan Sroka Radovan Sroka
              SSG Security QE SSG Security QE
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: