From: bigon@debian.org (Laurent Bigonville) Date: Wed, 12 Sep 2012 16:36:06 +0200 Subject: [refpolicy] [PATCH 2/2] Add Debian location for smartd daemon initscript In-Reply-To: <1347460566-26549-1-git-send-email-bigon@debian.org> References: <1347460566-26549-1-git-send-email-bigon@debian.org> Message-ID: <1347460566-26549-2-git-send-email-bigon@debian.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com From: Laurent Bigonville smartd initscipt in located at /etc/init.d/smartmontools --- smartmon.fc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smartmon.fc b/smartmon.fc index dbbc061..570b9f8 100644 --- a/smartmon.fc +++ b/smartmon.fc @@ -1,5 +1,9 @@ /etc/rc\.d/init\.d/smartd -- gen_context(system_u:object_r:fsdaemon_initrc_exec_t,s0) +ifdef(`distro_debian',` +/etc/rc\.d/init\.d/smartmontools -- gen_context(system_u:object_r:fsdaemon_initrc_exec_t,s0) +') + # # /usr # -- 1.7.10.4