From d958a662e13f1aaab708bc86cc260e6b582196a0 Mon Sep 17 00:00:00 2001 From: Dave Sugar Date: Fri, 26 Aug 2022 14:12:30 -0400 Subject: firewalld: firewalld-cmd uses dbus node=localhost type=USER_AVC msg=audit(1661536843.099:11666): pid=1037 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0 msg='avc: denied { send_msg } for scontext=system_u:system_r:firewalld_t:s0 tcontext=toor_u:sysadm_r:sysadm_t:s0 tclass=dbus permissive=1 exe="/usr/bin/dbus-broker" sauid=81 hostname=? addr=? terminal=?'UID="dbus" AUID="unset" SAUID="dbus" node=localhost type=USER_AVC msg=audit(1661536101.833:8373): pid=1037 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0 msg='avc: denied { send_msg } for scontext=toor_u:sysadm_r:sysadm_t:s0 tcontext=system_u:system_r:firewalld_t:s0 tclass=dbus permissive=0 exe="/usr/bin/dbus-broker" sauid=81 hostname=? addr=? terminal=?'UID="dbus" AUID="unset" SAUID="dbus" Signed-off-by: Dave Sugar Signed-off-by: Jason Zaman --- policy/modules/services/firewalld.if | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/services/firewalld.if b/policy/modules/services/firewalld.if index 4a65cecdb..e77b88f8c 100644 --- a/policy/modules/services/firewalld.if +++ b/policy/modules/services/firewalld.if @@ -105,6 +105,8 @@ interface(`firewalld_admin',` allow $1 firewalld_t:process { ptrace signal_perms }; ps_process_pattern($1, firewalld_t) + firewalld_dbus_chat($1) + init_startstop_service($1, $2, firewalld_t, firewalld_initrc_exec_t) files_search_runtime($1) -- cgit v1.2.3-65-gdbad