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)
|
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)
|
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)
|
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)
|
|
|
|
/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',`
|
2006-04-17 17:54:57 +00:00
|
|
|
/etc/named\.conf -- gen_context(system_u:object_r:named_conf_t,s0)
|
|
|
|
/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)
|
|
|
|
/var/named/chroot/etc(/.*)? 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)
|
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)
|
|
|
|
/var/named/chroot/var/named/named\.ca -- gen_context(system_u:object_r:named_conf_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
')
|