Using the following command, you can verify if the FANOTIFY is enabled in the kernel. # cat /boot/config-$(uname -r) | grep FANOTIFYCONFIG_FANOTIFY=yCONFIG_FANOTIFY_ACCESS_PERMISSIONS=y FANOTIFY is built in the kernel, so there is no need to load other modules. It is enabled by default in CentOS 7,8 and AlmaLinux 8.
