commit: d958a662e13f1aaab708bc86cc260e6b582196a0
Author: Dave Sugar <dsugar100 <AT> gmail <DOT> com>
AuthorDate: Fri Aug 26 18:12:30 2022 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Sep 3 19:07:50 2022 +0000
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d958a662
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 <dsugar100 <AT> gmail.com>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
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 4a65cecd..e77b88f8 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)