From a3ac9f605401bcf49490173d1f681d939c96d5ad Mon Sep 17 00:00:00 2001 From: Sven Vermeulen Date: Sat, 8 Sep 2012 17:45:52 +0200 Subject: [PATCH] Gentoo's openrc does not require initrc_exec_t for runscripts anymore The Gentoo-specific runscripts in /sbin should not be marked as initrc_exec_t anymore (just bin_t). Signed-off-by: Sven Vermeulen --- policy/modules/system/init.fc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc index 03e27dbcd..9a4d3a758 100644 --- a/policy/modules/system/init.fc +++ b/policy/modules/system/init.fc @@ -35,10 +35,6 @@ ifdef(`distro_gentoo', ` ifdef(`distro_gentoo', ` /sbin/rc -- gen_context(system_u:object_r:rc_exec_t,s0) -/sbin/runscript -- gen_context(system_u:object_r:initrc_exec_t,s0) -/sbin/runscript\.sh -- gen_context(system_u:object_r:initrc_exec_t,s0) -/sbin/runsvcscript\.sh -- gen_context(system_u:object_r:initrc_exec_t,s0) -/sbin/svcinit -- gen_context(system_u:object_r:initrc_exec_t,s0) ') #