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