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
(cherry picked from commit a2a0404)
  • Loading branch information
craigcomstock committed Dec 3, 2024
1 parent 0799b15 commit 1a149c5
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 @@ -338,7 +338,7 @@ files_read_all_symlinks(cfengine_serverd_t)
# 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 1a149c5

Please sign in to comment.