From: jason@perfinion.com (Jason Zaman) Date: Wed, 26 Nov 2014 10:39:16 +0400 Subject: [refpolicy] [PATCH 18/18] remove spamassassin_role() from spamassassin_admin() In-Reply-To: <1416983956-8770-1-git-send-email-jason@perfinion.com> References: <1416983956-8770-1-git-send-email-jason@perfinion.com> Message-ID: <1416983956-8770-19-git-send-email-jason@perfinion.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com spamassassin_role contains some named filetrans's which can not be applied twice. The roles already contain spamassassin_role which makes adding spamassassin_admin impossible. This removes the role so they can both be applied. --- spamassassin.if | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spamassassin.if b/spamassassin.if index 1499b0b..7f5a1cc 100644 --- a/spamassassin.if +++ b/spamassassin.if @@ -404,5 +404,6 @@ interface(`spamassassin_admin',` files_list_pids($1) admin_pattern($1, spamd_var_run_t) - spamassassin_role($2, $1) + # This makes it impossible to apply _admin if _role has already been applied + #spamassassin_role($2, $1) ') -- 2.0.4