File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 44/var/run/pdns\.pid -- gen_context(system_u:object_r:pdns_var_run_t,s0)
55/var/run/pdns\.controlsocket -s gen_context(system_u:object_r:pdns_var_run_t,s0)
66/etc/pdns(/.*)? gen_context(system_u:object_r:pdns_conf_t,s0)
7+
8+ /var/lib/pdns(/.*)? gen_context(system_u:object_r:pdns_var_lib_t,s0)
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ systemd_unit_file(pdns_unit_file_t)
2323type pdns_conf_t;
2424files_config_file(pdns_conf_t)
2525
26+ type pdns_var_lib_t;
27+ files_type(pdns_var_lib_t)
28+
2629type pdns_var_run_t;
2730files_pid_file(pdns_var_run_t)
2831
@@ -47,6 +50,10 @@ corenet_tcp_bind_dns_port(pdns_t)
4750corenet_udp_bind_dns_port(pdns_t)
4851corenet_tcp_bind_transproxy_port(pdns_t)
4952
53+ manage_dirs_pattern(pdns_t, pdns_var_lib_t, pdns_var_lib_t)
54+ manage_files_pattern(pdns_t, pdns_var_lib_t, pdns_var_lib_t)
55+ files_var_lib_filetrans(pdns_t, pdns_var_lib_t, { dir file })
56+
5057files_pid_filetrans(pdns_t, pdns_var_run_t, { file sock_file })
5158manage_files_pattern(pdns_t, pdns_var_run_t, pdns_var_run_t)
5259manage_sock_files_pattern(pdns_t, pdns_var_run_t, pdns_var_run_t)
You can’t perform that action at this time.
0 commit comments