What is "DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient" ?
Issue
- When running Red Hat Enterprise Linux (RHEL) 7 in SElinux mode
permissiveorenabledvarious errors show up, like:- "DBusException: org.freedesktop.DBus.Error.AccessDenied:An SELinux policy prevents this sender from sending this message to this recipient" in
journalctl -xnoutput - "systemd-logind: Failed to get system D-Bus connection: Access denied" in
/var/log/messages - " subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for msgtype=method_call" in
/var/log/audit/audit.log
- "DBusException: org.freedesktop.DBus.Error.AccessDenied:An SELinux policy prevents this sender from sending this message to this recipient" in
- Why am I getting
ABRTmessage at login showing "org.freedesktop.DBus.Error.AccessDenied" systemctl --failedshows lot of failed services- Disabling SELinux seems to solve the issue, but when switched back to
enforcingorpermissivethe issue is back despite relabeling tunedstart failed at boot, starting it manually fails, too
Environment
- Red Hat Enterprise Linux 7
- SELinux in permissive or enforcing mode
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.