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 };
@@ -401,6 +403,10 @@ allow init_t cfengine_hub_t:process siginh;
401
403
allow cfengine_hub_t cfengine_hub_exec_t:file entrypoint;
402
404
allow cfengine_hub_t cfengine_hub_exec_t:file { ioctl read getattr lock map execute open };
403
405
406
+ # 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.
407
+ allow cfengine_hub_t fsadm_exec_t:file getattr;
408
+ allow cfengine_hub_t lvm_exec_t:file getattr;
409
+
404
410
# allow cf-hub to use/execute libpromises.so
405
411
allow cfengine_hub_t cfengine_var_lib_t:file map;
406
412
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
@@ -8,3 +9,8 @@ allow cfengine_httpd_t systemd_userdbd_runtime_t:sock_file write;
8
9
allow cfengine_httpd_t kernel_t:unix_stream_socket connectto;
9
10
allow cfengine_reactor_t systemd_userdbd_runtime_t:dir { getattr open read search };
10
11
allow cfengine_reactor_t systemd_userdbd_runtime_t:sock_file write;
12
+
13
+ # selinux-policy 38.1.45 requires the following http_port permissions whereas 3.14.3 does not.
14
+ # 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.
15
+ allow cfengine_serverd_t http_port_t:tcp_socket name_connect;
16
+ allow cfengine_execd_t http_port_t:tcp_socket name_connect;
You can’t perform that action at this time.
0 commit comments