From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Thu, 11 Apr 2013 10:34:37 +0200 Subject: [refpolicy] [PATCH 07/13] Update on file contexts for OpenLDAP In-Reply-To: <1365669283-22005-1-git-send-email-sven.vermeulen@siphos.be> References: <1365669283-22005-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1365669283-22005-8-git-send-email-sven.vermeulen@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Signed-off-by: Sven Vermeulen --- ldap.fc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ldap.fc b/ldap.fc index bc25c95..b7e5679 100644 --- a/ldap.fc +++ b/ldap.fc @@ -6,11 +6,16 @@ /usr/sbin/slapd -- gen_context(system_u:object_r:slapd_exec_t,s0) +/usr/lib/openldap/slapd -- gen_context(system_u:object_r:slapd_exec_t,s0) /usr/lib/slapd -- gen_context(system_u:object_r:slapd_exec_t,s0) /var/lib/ldap(/.*)? gen_context(system_u:object_r:slapd_db_t,s0) /var/lib/ldap/replog(/.*)? gen_context(system_u:object_r:slapd_replog_t,s0) +/var/lib/openldap-data(/.*)? gen_context(system_u:object_r:slapd_db_t,s0) +/var/lib/openldap-ldbm(/.*)? gen_context(system_u:object_r:slapd_db_t,s0) +/var/lib/openldap-slurpd(/.*)? gen_context(system_u:object_r:slapd_db_t,s0) + /var/lock/subsys/ldap -- gen_context(system_u:object_r:slapd_lock_t,s0) /var/lock/subsys/slapd -- gen_context(system_u:object_r:slapd_lock_t,s0) -- 1.8.1.5