From ad43927c43822c69faac46c09faf6b61413a7c3e Mon Sep 17 00:00:00 2001 From: Guido Trentalancia Date: Wed, 16 Feb 2011 07:28:33 +0100 Subject: [PATCH] patch to add a file context for /sbin/upstart This patch adds a file context for /sbin/upstart. --- policy/modules/system/init.fc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc index 6fed22ce5..354ce9363 100644 --- a/policy/modules/system/init.fc +++ b/policy/modules/system/init.fc @@ -34,6 +34,8 @@ ifdef(`distro_gentoo', ` # /sbin # /sbin/init(ng)? -- gen_context(system_u:object_r:init_exec_t,s0) +# because nowadays, /sbin/init is often a symlink to /sbin/upstart +/sbin/upstart -- gen_context(system_u:object_r:init_exec_t,s0) ifdef(`distro_gentoo', ` /sbin/rc -- gen_context(system_u:object_r:initrc_exec_t,s0)