From: aranea@aixah.de (Luis Ressel) Date: Sat, 1 Feb 2014 12:38:39 +0100 Subject: [refpolicy] [PATCH 4/5] Reformat couchdb.fc In-Reply-To: <1391254720-25899-1-git-send-email-aranea@aixah.de> References: <1391254609-25712-1-git-send-email-aranea@aixah.de> <1391254720-25899-1-git-send-email-aranea@aixah.de> Message-ID: <1391254720-25899-4-git-send-email-aranea@aixah.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com --- couchdb.fc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/couchdb.fc b/couchdb.fc index 3fd740b..933d686 100644 --- a/couchdb.fc +++ b/couchdb.fc @@ -1,14 +1,10 @@ -/etc/couchdb(/.*)? gen_context(system_u:object_r:couchdb_conf_t,s0) - +/etc/couchdb(/.*)? gen_context(system_u:object_r:couchdb_conf_t,s0) /etc/rc\.d/init\.d/couchdb -- gen_context(system_u:object_r:couchdb_initrc_exec_t,s0) +/usr/bin/couchdb -- gen_context(system_u:object_r:couchdb_exec_t,s0) /usr/lib/couchdb/bin/couchjs -- gen_context(system_u:object_r:couchdb_js_exec_t,s0) /usr/lib/couchdb/erlang/lib/couch-[0-9.]+/priv/couchspawnkillable -- gen_context(system_u:object_r:bin_t,s0) -/usr/bin/couchdb -- gen_context(system_u:object_r:couchdb_exec_t,s0) - -/var/lib/couchdb(/.*)? gen_context(system_u:object_r:couchdb_var_lib_t,s0) - -/var/log/couchdb(/.*)? gen_context(system_u:object_r:couchdb_log_t,s0) - -/var/run/couchdb(/.*)? gen_context(system_u:object_r:couchdb_var_run_t,s0) +/var/lib/couchdb(/.*)? gen_context(system_u:object_r:couchdb_var_lib_t,s0) +/var/log/couchdb(/.*)? gen_context(system_u:object_r:couchdb_log_t,s0) +/var/run/couchdb(/.*)? gen_context(system_u:object_r:couchdb_var_run_t,s0) -- 1.8.5.3