From: dominick.grift@gmail.com (Dominick Grift) Date: Thu, 13 Sep 2012 14:19:05 +0200 Subject: [refpolicy] [PATCH 2/2] Add Debian location for smartd daemon initscript In-Reply-To: <1347460566-26549-2-git-send-email-bigon@debian.org> References: <1347460566-26549-1-git-send-email-bigon@debian.org> <1347460566-26549-2-git-send-email-bigon@debian.org> Message-ID: <1347538745.2915.18.camel@d30.localdomain> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Wed, 2012-09-12 at 16:36 +0200, Laurent Bigonville wrote: > 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 > # This was merged. Thanks