commit:     746aaebf667236d83d3c427392b2d97c06fc8c59
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Tue Jun  9 14:25:38 2015 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Tue Jun  9 14:25:38 2015 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=746aaebf

Make fail2ban call an optional one

 policy/modules/contrib/logrotate.te | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/policy/modules/contrib/logrotate.te 
b/policy/modules/contrib/logrotate.te
index 7b302cc..311defd 100644
--- a/policy/modules/contrib/logrotate.te
+++ b/policy/modules/contrib/logrotate.te
@@ -254,5 +254,7 @@ logging_read_all_logs(logrotate_mail_t)
 
 ifdef(`distro_gentoo',`
        # Fix bug 534256 - fail2ban installs a logrotate file that calls 
fail2ban-client so allow transition
-       fail2ban_domtrans_client(logrotate_t)
+       optional_policy(`
+               fail2ban_domtrans_client(logrotate_t)
+       ')
 ')

Reply via email to