Skip to content

Commit

Permalink
Added getattr access for cf-serverd to socket file in CFEngine SELinu…
Browse files Browse the repository at this point in the history
…x policy

Ticket: ENT-12466
Changelog: title
  • Loading branch information
craigcomstock committed Dec 2, 2024
1 parent b2e7a85 commit a2a0404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/selinux/cfengine-enterprise.te.all
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ allow cfengine_serverd_t cfengine_var_lib_t:file execute_no_trans;
# allow cf-serverd to connect to the CFEngine port and to write into a local socket (in case of
# call-collect on hosts and the hub itself, respectively)
allow cfengine_serverd_t unreserved_port_t:tcp_socket name_connect;
allow cfengine_serverd_t cfengine_var_lib_t:sock_file write;
allow cfengine_serverd_t cfengine_var_lib_t:sock_file { getattr write };
allow cfengine_serverd_t cfengine_hub_t:unix_stream_socket connectto;

# TODO: this should not be needed
Expand Down

0 comments on commit a2a0404

Please sign in to comment.