From 83f8240f041af2e2a07f0351c74ac0c644133da5 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Fri, 3 May 2019 13:32:04 +0200 Subject: [PATCH] Allow logrotate to execute fail2ban-client fail2ban logrotate configuration runs "fail2ban-client flushlogs" after rotating the logs --- policy/modules/admin/logrotate.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/admin/logrotate.te b/policy/modules/admin/logrotate.te index 4f397b7e7..c6de697fc 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) ')