File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ require {
91
91
type ssh_exec_t;
92
92
type ssh_home_t;
93
93
type rpm_script_t;
94
+ type fsadm_exec_t;
95
+ type lvm_exec_t;
94
96
class lockdown { confidentiality integrity };
95
97
class tcp_socket { create ioctl read getattr lock write setattr append bind connect getopt setopt shutdown name_connect accept listen name_bind node_bind };
96
98
class mctp_socket { ioctl read write create getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt setopt shutdown recvfrom sendto recv_msg send_msg name_bind };
@@ -403,6 +405,10 @@ allow init_t cfengine_hub_t:process siginh;
403
405
allow cfengine_hub_t cfengine_hub_exec_t:file entrypoint;
404
406
allow cfengine_hub_t cfengine_hub_exec_t:file { ioctl read getattr lock map execute open };
405
407
408
+ # the following file permissions for cf-hub are not needed if masterfiles includes fixes from ENT-12954 making inventory and paths standard library bundles agent instead of common.
409
+ allow cfengine_hub_t fsadm_exec_t:file getattr;
410
+ allow cfengine_hub_t lvm_exec_t:file getattr;
411
+
406
412
# allow cf-hub to use/execute libpromises.so
407
413
allow cfengine_hub_t cfengine_var_lib_t:file map;
408
414
allow cfengine_hub_t cfengine_var_lib_t:file execute;
Original file line number Diff line number Diff line change 1
1
require {
2
2
type systemd_userdbd_runtime_t;
3
+ type http_port_t;
3
4
}
4
5
5
6
# PAM module for dynamic users
6
7
allow cfengine_httpd_t systemd_userdbd_runtime_t:dir { getattr open read search };
7
8
allow cfengine_httpd_t systemd_userdbd_runtime_t:sock_file write;
8
9
allow cfengine_httpd_t kernel_t:unix_stream_socket connectto;
10
+
11
+ # selinux-policy 38.1.45 requires the following http_port permissions whereas 3.14.3 does not.
12
+ # these permissions are not be needed if changes from ENT-12954 to masterfiles policy move inventory from common to an agent bundle are in place.
13
+ allow cfengine_serverd_t http_port_t:tcp_socket name_connect;
14
+ allow cfengine_execd_t http_port_t:tcp_socket name_connect;
You can’t perform that action at this time.
0 commit comments