From: dominick.grift@gmail.com (Dominick Grift) Date: Mon, 08 Oct 2012 23:15:36 +0200 Subject: [refpolicy] [PATCH 2/2] Add Debian locationis for nut executables and configuration files In-Reply-To: <1349729774-7039-2-git-send-email-bigon@debian.org> References: <1349729774-7039-1-git-send-email-bigon@debian.org> <1349729774-7039-2-git-send-email-bigon@debian.org> Message-ID: <1349730936.30521.7.camel@d30.localdomain> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Mon, 2012-10-08 at 22:56 +0200, Laurent Bigonville wrote: > From: Laurent Bigonville > > --- > nut.fc | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/nut.fc b/nut.fc > index 0a929ef..c6c3632 100644 > --- a/nut.fc > +++ b/nut.fc > @@ -1,6 +1,13 @@ > +/etc/nut(/.*)? gen_context(system_u:object_r:nut_conf_t,s0) > /etc/ups(/.*)? gen_context(system_u:object_r:nut_conf_t,s0) > > +/sbin/upsd -- gen_context(system_u:object_r:nut_upsd_exec_t,s0) > /sbin/upsdrvctl -- gen_context(system_u:object_r:nut_upsdrvctl_exec_t,s0) > +/sbin/upsmon -- gen_context(system_u:object_r:nut_upsmon_exec_t,s0) > + > +/usr/lib/cgi-bin/nut/upsimage\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0) > +/usr/lib/cgi-bin/nut/upsset\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0) > +/usr/lib/cgi-bin/nut/upsstats\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0) > > /usr/sbin/upsd -- gen_context(system_u:object_r:nut_upsd_exec_t,s0) > /usr/sbin/upsmon -- gen_context(system_u:object_r:nut_upsmon_exec_t,s0) This is merged, Thanks