SELinux "getattr" access denial on "filesystem"

Solution Verified - Updated -

Issue

  • The following SELinux denial messages output. The messages indicate that some processes try to "getattr" filesystems which are actually directories and files.
setroubleshoot: SELinux is preventing /usr/bin/chronyc from getattr access on the filesystem /etc/hosts.
setroubleshoot: SELinux is preventing /usr/bin/bash from getattr access on the filesystem /.
setroubleshoot: SELinux is preventing /usr/bin/chronyc from getattr access on the filesystem /etc/resolv.conf.
setroubleshoot: SELinux is preventing /usr/bin/bash from getattr access on the filesystem /.
setroubleshoot: SELinux is preventing /usr/bin/python3.9 from getattr access on the filesystem /lib64/ld-linux-x86-64.so.2

Environment

  • Red Hat Enterprise Linux 9
  • ESET security software

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content