Skip to content

Commit

Permalink
Allow init_t nnp domain transition to gssproxy_t
Browse files Browse the repository at this point in the history
The commit addresses the following AVC denial:
type=SELINUX_ERR msg=audit(01/29/2025 11:49:37.527:141) : op=security_bounded_transition seresult=denied oldcontext=system_u:system_r:init_t:s0 newcontext=system_u:system_r:gssproxy_t:s0
type=AVC msg=audit(01/29/2025 11:49:37.527:141) : avc:  denied  { nnp_transition } for  pid=1823 comm=(gssproxy) scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:gssproxy_t:s0 tclass=process2 permissive=0
type=AVC msg=audit(01/29/2025 11:49:37.541:143) : avc:  denied  { add_name } for  pid=1824 comm=gssproxy name=default.sock scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:gssproxy_var_lib_t:s0 tclass=dir permissive=0
type=SERVICE_START msg=audit(01/29/2025 11:49:37.545:144) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='unit=gssproxy comm=systemd exe=/usr/lib/systemd/systemd hostname=? addr=? terminal=? res=failed'

Signed-off-by: yixiangzhike <[email protected]>
  • Loading branch information
yixiangzhike authored and zpytela committed Jan 29, 2025
1 parent 8623966 commit 95d5f5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/contrib/gssproxy.te
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ policy_module(gssproxy, 1.0.0)
type gssproxy_t;
type gssproxy_exec_t;
init_daemon_domain(gssproxy_t, gssproxy_exec_t)
init_nnp_daemon_domain(gssproxy_t)

type gssproxy_var_lib_t;
files_type(gssproxy_var_lib_t)
Expand Down

0 comments on commit 95d5f5e

Please sign in to comment.