Chris PeBenito ab58ad
# dhcpd
Chris PeBenito ab58ad
/etc/dhcpd\.conf	--	system_u:object_r:dhcp_etc_t:s0
Chris PeBenito ab58ad
/etc/dhcp3(/.*)?		system_u:object_r:dhcp_etc_t:s0
Chris PeBenito ab58ad
/usr/sbin/dhcpd.*	--	system_u:object_r:dhcpd_exec_t:s0
Chris PeBenito ab58ad
/var/lib/dhcp([3d])?/dhcpd\.leases.* -- system_u:object_r:dhcpd_state_t:s0
Chris PeBenito ab58ad
/var/run/dhcpd\.pid	--	system_u:object_r:dhcpd_var_run_t:s0
Chris PeBenito ab58ad
ifdef(`dhcp_defined', `', `
Chris PeBenito ab58ad
/var/lib/dhcp([3d])?	-d	system_u:object_r:dhcp_state_t:s0
Chris PeBenito ab58ad
define(`dhcp_defined')
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
Chris PeBenito ab58ad
ifdef(`distro_gentoo', `
Chris PeBenito ab58ad
/etc/dhcp			-d	system_u:object_r:dhcp_etc_t:s0
Chris PeBenito ab58ad
/etc/dhcp(/.*)?			--	system_u:object_r:dhcp_etc_t:s0
Chris PeBenito ab58ad
/var/lib/dhcp			-d 	system_u:object_r:dhcp_state_t:s0
Chris PeBenito ab58ad
/var/lib/dhcpd(/.*)?			system_u:object_r:dhcpd_state_t:s0
Chris PeBenito ab58ad
/var/lib/dhcp/dhcpd\.leases.* 	--	system_u:object_r:dhcpd_state_t:s0
Chris PeBenito ab58ad
/var/run/dhcp/dhcpd\.pid     	--	system_u:object_r:dhcpd_var_run_t:s0
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# for the chroot setup
Chris PeBenito ab58ad
/chroot/dhcp					-d	system_u:object_r:root_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/dev				-d	system_u:object_r:device_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/etc				-d	system_u:object_r:etc_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/etc/dhcp               -d  system_u:object_r:dhcp_etc_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/etc/dhcp(/.*)?         --  system_u:object_r:dhcp_etc_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/usr/sbin/dhcpd         --  system_u:object_r:dhcpd_exec_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/var				-d	system_u:object_r:var_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/var/run				-d	system_u:object_r:var_run_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/var/lib				-d	system_u:object_r:var_lib_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/var/lib/dhcp			-d	system_u:object_r:dhcp_state_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/var/lib/dhcp/dhcpd\.leases.*	--	system_u:object_r:dhcpd_state_t:s0
Chris PeBenito ab58ad
/chroot/dhcp/var/run/dhcp/dhcpd\.pid     	--	system_u:object_r:dhcpd_state_t:s0
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad