2008-11-11 16:38:34 +00:00
|
|
|
/etc/rc\.d/init\.d/named -- gen_context(system_u:object_r:named_initrc_exec_t,s0)
|
2009-07-14 14:30:22 +00:00
|
|
|
/etc/rc\.d/init\.d/unbound -- gen_context(system_u:object_r:named_initrc_exec_t,s0)
|
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/rndc.* -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/etc/rndc\.key -- gen_context(system_u:object_r:dnssec_t,s0)
|
2009-07-14 14:30:22 +00:00
|
|
|
/etc/unbound(/.*)? gen_context(system_u:object_r:named_conf_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
|
2006-04-17 17:54:57 +00:00
|
|
|
/usr/sbin/lwresd -- gen_context(system_u:object_r:named_exec_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/sbin/named -- gen_context(system_u:object_r:named_exec_t,s0)
|
|
|
|
/usr/sbin/named-checkconf -- gen_context(system_u:object_r:named_checkconf_exec_t,s0)
|
|
|
|
/usr/sbin/r?ndc -- gen_context(system_u:object_r:ndc_exec_t,s0)
|
2009-07-14 14:30:22 +00:00
|
|
|
/usr/sbin/unbound -- gen_context(system_u:object_r:named_exec_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
|
2006-04-17 17:54:57 +00:00
|
|
|
/var/log/named.* -- gen_context(system_u:object_r:named_log_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/run/ndc -s gen_context(system_u:object_r:named_var_run_t,s0)
|
|
|
|
/var/run/bind(/.*)? gen_context(system_u:object_r:named_var_run_t,s0)
|
|
|
|
/var/run/named(/.*)? gen_context(system_u:object_r:named_var_run_t,s0)
|
2009-07-14 14:30:22 +00:00
|
|
|
/var/run/unbound(/.*)? gen_context(system_u:object_r:named_var_run_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
|
|
|
|
ifdef(`distro_debian',`
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/bind(/.*)? gen_context(system_u:object_r:named_zone_t,s0)
|
|
|
|
/etc/bind/named\.conf -- gen_context(system_u:object_r:named_conf_t,s0)
|
2008-09-03 14:12:56 +00:00
|
|
|
/etc/bind/named\.conf\.local -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/etc/bind/named\.conf\.options -- gen_context(system_u:object_r:named_conf_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/bind/rndc\.key -- gen_context(system_u:object_r:dnssec_t,s0)
|
|
|
|
/var/cache/bind(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
ifdef(`distro_gentoo',`
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/bind(/.*)? gen_context(system_u:object_r:named_zone_t,s0)
|
|
|
|
/etc/bind/named\.conf -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/etc/bind/rndc\.key -- gen_context(system_u:object_r:dnssec_t,s0)
|
|
|
|
/var/bind(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
|
|
|
/var/bind/pri(/.*)? gen_context(system_u:object_r:named_zone_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
ifdef(`distro_redhat',`
|
2008-12-03 18:33:19 +00:00
|
|
|
/etc/named\.rfc1912.zones -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/etc/named\.root\.hints -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/etc/named\.conf -- gen_context(system_u:object_r:named_conf_t,s0)
|
2006-04-17 17:54:57 +00:00
|
|
|
/etc/named\.caching-nameserver\.conf -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/var/named(/.*)? gen_context(system_u:object_r:named_zone_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/named/slaves(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
|
|
|
/var/named/data(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
|
|
|
/var/named/named\.ca -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/var/named/chroot(/.*)? gen_context(system_u:object_r:named_conf_t,s0)
|
2006-07-24 15:43:57 +00:00
|
|
|
/var/named/chroot/etc/rndc\.key -- gen_context(system_u:object_r:dnssec_t,s0)
|
2009-07-14 14:30:22 +00:00
|
|
|
/var/named/chroot/etc/named\.conf -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/var/named/chroot/etc/named\.rfc1912.zones -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/var/named/chroot/etc/named\.root\.hints -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/var/named/chroot/etc/named\.caching-nameserver\.conf -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/var/named/chroot/proc(/.*)? <<none>>
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/named/chroot/var/run/named.* gen_context(system_u:object_r:named_var_run_t,s0)
|
|
|
|
/var/named/chroot/var/tmp(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
|
|
|
/var/named/chroot/var/named(/.*)? gen_context(system_u:object_r:named_zone_t,s0)
|
|
|
|
/var/named/chroot/var/named/slaves(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
|
|
|
/var/named/chroot/var/named/data(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
2007-10-12 17:35:56 +00:00
|
|
|
/var/named/chroot/var/named/dynamic(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/named/chroot/var/named/named\.ca -- gen_context(system_u:object_r:named_conf_t,s0)
|
2007-10-12 17:35:56 +00:00
|
|
|
/var/named/chroot/var/log/named.* -- gen_context(system_u:object_r:named_log_t,s0)
|
|
|
|
/var/named/dynamic(/.*)? gen_context(system_u:object_r:named_cache_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
')
|