From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Sat, 25 Aug 2012 20:26:07 +0200 Subject: [refpolicy] [PATCH v4 3/4] Allow initrc_t to create run dirs for core modules In-Reply-To: <20120825182417.GA23427@siphos.be> References: <20120825182417.GA23427@siphos.be> Message-ID: <20120825182606.GD23427@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Use the init_daemon_run_dir interface in order to allow initrc_t to create the run dirs of the postgresql service. Signed-off-by: Sven Vermeulen --- policy/modules/services/postgresql.te | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/policy/modules/services/postgresql.te b/policy/modules/services/postgresql.te index 4318f73..b49c929 100644 --- a/policy/modules/services/postgresql.te +++ b/policy/modules/services/postgresql.te @@ -63,6 +63,7 @@ files_tmp_file(postgresql_tmp_t) type postgresql_var_run_t; files_pid_file(postgresql_var_run_t) +init_daemon_run_dir(postgresql_var_run_t, "postgresql") # database clients attribute attribute sepgsql_admin_type; -- 1.7.8.6