Chris PeBenito ab58ad
# daemontools
Chris PeBenito ab58ad
Chris PeBenito ab58ad
/var/service/.*			system_u:object_r:svc_svc_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# symlinks to /var/service/*
Chris PeBenito ab58ad
/service(/.*)?			system_u:object_r:svc_svc_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# supervise scripts
Chris PeBenito ab58ad
/usr/bin/svc-add	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
/usr/bin/svc-isdown	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
/usr/bin/svc-isup	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
/usr/bin/svc-remove	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
/usr/bin/svc-start	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
/usr/bin/svc-status	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
/usr/bin/svc-stop	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
/usr/bin/svc-waitdown	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
/usr/bin/svc-waitup	--	system_u:object_r:svc_script_exec_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# supervise init binaries
Chris PeBenito ab58ad
# these programs read/write to /service/*/supervise/* and /service/*/log/supervise/*
Chris PeBenito ab58ad
/usr/bin/svc		--	system_u:object_r:svc_start_exec_t
Chris PeBenito ab58ad
/usr/bin/svscan		--	system_u:object_r:svc_start_exec_t
Chris PeBenito ab58ad
/usr/bin/svscanboot	--	system_u:object_r:svc_start_exec_t
Chris PeBenito ab58ad
/usr/bin/svok		--	system_u:object_r:svc_start_exec_t
Chris PeBenito ab58ad
/usr/bin/supervise	--	system_u:object_r:svc_start_exec_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# starting scripts
Chris PeBenito ab58ad
/var/service/.*/run.*		system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
/var/service/.*/log/run		system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# configurations
Chris PeBenito ab58ad
/var/service/.*/env(/.*)?   system_u:object_r:svc_conf_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# log
Chris PeBenito ab58ad
/var/service/.*/log/main(/.*)?  system_u:object_r:svc_log_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# programs that impose a given environment to daemons
Chris PeBenito ab58ad
/usr/bin/softlimit	--	system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
/usr/bin/setuidgid	--	system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
/usr/bin/envuidgid	--	system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
/usr/bin/envdir		--	system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
/usr/bin/setlock	--	system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# helper programs
Chris PeBenito ab58ad
/usr/bin/fghack		--	system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
/usr/bin/pgrphack	--	system_u:object_r:svc_run_exec_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
/var/run/svscan\.pid	--	system_u:object_r:initrc_var_run_t
Chris PeBenito ab58ad
# daemontools logger # writes to service/*/log/main/ and /var/log/*/
Chris PeBenito ab58ad
/usr/bin/multilog	--	system_u:object_r:svc_multilog_exec_t
Chris PeBenito ab58ad
Chris PeBenito ab58ad
/sbin/svcinit       --  system_u:object_r:initrc_exec_t
Chris PeBenito ab58ad
/sbin/runsvcscript\.sh	--	system_u:object_r:initrc_exec_t
Chris PeBenito ab58ad