Chris PeBenito 0fbfa5
# named
Chris PeBenito 0fbfa5
ifdef(`distro_redhat', `
Chris PeBenito 0fbfa5
/var/named(/.*)?		system_u:object_r:named_zone_t
Chris PeBenito 0fbfa5
/var/named/slaves(/.*)?		system_u:object_r:named_cache_t
Chris PeBenito 0fbfa5
/var/named/data(/.*)?		system_u:object_r:named_cache_t
Chris PeBenito 0fbfa5
/etc/named\.conf	--	system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
') dnl end distro_redhat
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
ifdef(`distro_debian', `
Chris PeBenito 0fbfa5
/etc/bind(/.*)?			system_u:object_r:named_zone_t
Chris PeBenito 0fbfa5
/etc/bind/named\.conf	--	system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
/etc/bind/rndc\.key	--	system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
/var/cache/bind(/.*)?		system_u:object_r:named_cache_t
Chris PeBenito 0fbfa5
') dnl distro_debian
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
/etc/rndc.*		--	system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
/etc/rndc.key  		-- 	system_u:object_r:dnssec_t
Chris PeBenito 0fbfa5
/usr/sbin/named      	--	system_u:object_r:named_exec_t
Chris PeBenito 0fbfa5
/usr/sbin/r?ndc		--	system_u:object_r:ndc_exec_t
Chris PeBenito 0fbfa5
/var/run/ndc		-s	system_u:object_r:named_var_run_t
Chris PeBenito 0fbfa5
/var/run/bind(/.*)?		system_u:object_r:named_var_run_t
Chris PeBenito 0fbfa5
/var/run/named(/.*)?		system_u:object_r:named_var_run_t
Chris PeBenito 0fbfa5
/usr/sbin/lwresd	--	system_u:object_r:named_exec_t
Chris PeBenito 0fbfa5
ifdef(`distro_redhat', `
Chris PeBenito 0fbfa5
/var/named/named\.ca	--	system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
/var/named/chroot(/.*)?		system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
/var/named/chroot/dev/null   -c	system_u:object_r:null_device_t
Chris PeBenito 0fbfa5
/var/named/chroot/dev/random -c	system_u:object_r:random_device_t
Chris PeBenito 0fbfa5
/var/named/chroot/dev/zero -c	system_u:object_r:zero_device_t
Chris PeBenito 0fbfa5
/var/named/chroot/etc(/.*)? 	system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
/var/named/chroot/etc/rndc.key  -- system_u:object_r:dnssec_t
Chris PeBenito 0fbfa5
/var/named/chroot/var/run/named.* system_u:object_r:named_var_run_t
Chris PeBenito 0fbfa5
/var/named/chroot/var/tmp(/.*)? system_u:object_r:named_cache_t
Chris PeBenito 0fbfa5
/var/named/chroot/var/named(/.*)?	system_u:object_r:named_zone_t
Chris PeBenito 0fbfa5
/var/named/chroot/var/named/slaves(/.*)? system_u:object_r:named_cache_t
Chris PeBenito 0fbfa5
/var/named/chroot/var/named/data(/.*)? system_u:object_r:named_cache_t
Chris PeBenito 0fbfa5
/var/named/chroot/var/named/named\.ca	--	system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
') dnl distro_redhat
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
ifdef(`distro_gentoo', `
Chris PeBenito 0fbfa5
/etc/bind(/.*)?         system_u:object_r:named_zone_t
Chris PeBenito 0fbfa5
/etc/bind/named\.conf   --  system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
/etc/bind/rndc\.key    --  system_u:object_r:named_conf_t
Chris PeBenito 0fbfa5
/var/bind(/.*)?             system_u:object_r:named_cache_t
Chris PeBenito 0fbfa5
/var/bind/pri(/.*)?         system_u:object_r:named_zone_t
Chris PeBenito 0fbfa5
') dnl distro_gentoo