aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bigonville <bigon@bigon.be>2019-05-03 13:32:04 +0200
committerJason Zaman <jason@perfinion.com>2019-07-13 14:43:14 +0800
commit6b8e7ca613d74efbe08d3ad4aabafe2361cba20c (patch)
tree439366de921f8af8bd1f72b7dff98898706bba77
parentAdd dovecot to listen to LMTP port (diff)
downloadhardened-refpolicy-6b8e7ca613d74efbe08d3ad4aabafe2361cba20c.tar.gz
hardened-refpolicy-6b8e7ca613d74efbe08d3ad4aabafe2361cba20c.tar.bz2
hardened-refpolicy-6b8e7ca613d74efbe08d3ad4aabafe2361cba20c.zip
Allow logrotate to execute fail2ban-client
fail2ban logrotate configuration runs "fail2ban-client flushlogs" after rotating the logs Signed-off-by: Jason Zaman <jason@perfinion.com>
-rw-r--r--policy/modules/admin/logrotate.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/policy/modules/admin/logrotate.te b/policy/modules/admin/logrotate.te
index e66f15ef..e6e2a97b 100644
--- a/policy/modules/admin/logrotate.te
+++ b/policy/modules/admin/logrotate.te
@@ -193,6 +193,7 @@ optional_policy(`
')
optional_policy(`
+ fail2ban_domtrans_client(logrotate_t)
fail2ban_stream_connect(logrotate_t)
')