Blob Blame History Raw
# named
ifdef(`distro_redhat', `
/var/named(/.*)?		system_u:object_r:named_zone_t
/var/named/slaves(/.*)?		system_u:object_r:named_cache_t
/var/named/data(/.*)?		system_u:object_r:named_cache_t
/etc/named\.conf	--	system_u:object_r:named_conf_t
') dnl end distro_redhat

ifdef(`distro_debian', `
/etc/bind(/.*)?			system_u:object_r:named_zone_t
/etc/bind/named\.conf	--	system_u:object_r:named_conf_t
/etc/bind/rndc\.key	--	system_u:object_r:dnssec_t
/var/cache/bind(/.*)?		system_u:object_r:named_cache_t
') dnl distro_debian

/etc/rndc.*		--	system_u:object_r:named_conf_t
/etc/rndc\.key		-- 	system_u:object_r:dnssec_t
/usr/sbin/named      	--	system_u:object_r:named_exec_t
/usr/sbin/named-checkconf --	system_u:object_r:named_checkconf_exec_t
/usr/sbin/r?ndc		--	system_u:object_r:ndc_exec_t
/var/run/ndc		-s	system_u:object_r:named_var_run_t
/var/run/bind(/.*)?		system_u:object_r:named_var_run_t
/var/run/named(/.*)?		system_u:object_r:named_var_run_t
/usr/sbin/lwresd	--	system_u:object_r:named_exec_t
/var/log/named.* 	--  system_u:object_r:named_log_t

ifdef(`distro_redhat', `
/var/named/named\.ca	--	system_u:object_r:named_conf_t
/var/named/chroot(/.*)?		system_u:object_r:named_conf_t
/var/named/chroot/dev/null   -c	system_u:object_r:null_device_t
/var/named/chroot/dev/random -c	system_u:object_r:random_device_t
/var/named/chroot/dev/zero -c	system_u:object_r:zero_device_t
/var/named/chroot/etc(/.*)? 	system_u:object_r:named_conf_t
/var/named/chroot/etc/rndc.key  -- system_u:object_r:dnssec_t
/var/named/chroot/var/run/named.* system_u:object_r:named_var_run_t
/var/named/chroot/var/tmp(/.*)? system_u:object_r:named_cache_t
/var/named/chroot/var/named(/.*)?	system_u:object_r:named_zone_t
/var/named/chroot/var/named/slaves(/.*)? system_u:object_r:named_cache_t
/var/named/chroot/var/named/data(/.*)? system_u:object_r:named_cache_t
/var/named/chroot/var/named/named\.ca	--	system_u:object_r:named_conf_t
') dnl distro_redhat

ifdef(`distro_gentoo', `
/etc/bind(/.*)?         system_u:object_r:named_zone_t
/etc/bind/named\.conf   --  system_u:object_r:named_conf_t
/etc/bind/rndc\.key    --  system_u:object_r:dnssec_t
/var/bind(/.*)?             system_u:object_r:named_cache_t
/var/bind/pri(/.*)?         system_u:object_r:named_zone_t
') dnl distro_gentoo