From 1c905c3cfa403444d03ffb82ff6a24cd9d8b6710 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Mar 12 2012 13:44:09 +0000 Subject: Add couchdb server policy --- diff --git a/modules-targeted.conf b/modules-targeted.conf index 033569e..1cb3121 100644 --- a/modules-targeted.conf +++ b/modules-targeted.conf @@ -67,6 +67,13 @@ collectd = module # colord = module +# Layer: services +# Module: couchdb +# +# Apache CouchDB database server +# +couchdb = module + # Layer: apps # Module: cpufreqselector # diff --git a/permissivedomains.te b/permissivedomains.te index 921cfa7..74c5a37 100644 --- a/permissivedomains.te +++ b/permissivedomains.te @@ -1,5 +1,12 @@ policy_module(permissivedomains,17) +optional_policy(` + gen_require(` + type couchdb_t; + ') + + permissive couchdb_t; +') optional_policy(` gen_require(`