From: dominick.grift@gmail.com (grift) Date: Tue, 01 Jan 2013 11:49:23 +0100 Subject: [refpolicy] [PATCH 09/12] Puppet initscript creates /run/puppet In-Reply-To: <1356994351-29191-10-git-send-email-sven.vermeulen@siphos.be> References: <1356994351-29191-1-git-send-email-sven.vermeulen@siphos.be> <1356994351-29191-10-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1357037363.2088.18.camel@localhost> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Mon, 2012-12-31 at 23:52 +0100, Sven Vermeulen wrote: > As the target context of /run/puppet needs to be puppet_var_run_t, introduce an > init_daemon_run_dir call to support this. > This was merged, thanks > Signed-off-by: Sven Vermeulen > --- > puppet.te | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/puppet.te b/puppet.te > index 357a2f5..f836236 100644 > --- a/puppet.te > +++ b/puppet.te > @@ -37,6 +37,7 @@ files_type(puppet_var_lib_t) > > type puppet_var_run_t; > files_pid_file(puppet_var_run_t) > +init_daemon_run_dir(puppet_var_run_t, "puppet") > > type puppetca_t; > type puppetca_exec_t;