On a clean Gentoo install, apache jails on fail2ban fail saying they can't find any *error.log for them. The default logs in apache have "_" instead of ".", so in /etc/fail2ban/paths-common.conf these lines: apache_error_log = /var/log/apache2/*error.log apache_access_log = /var/log/apache2/*access.log should be like these: apache_error_log = /var/log/apache2/*error_log apache_access_log = /var/log/apache2/*access_log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00402f66d1cdf8144ff08f446010cfdbd8d2fe4a commit 00402f66d1cdf8144ff08f446010cfdbd8d2fe4a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-08-11 01:00:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-11 01:00:15 +0000 net-analyzer/fail2ban: fix Apache log path Closes: https://bugs.gentoo.org/805485 Signed-off-by: Sam James <sam@gentoo.org> net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild | 131 +++++++++++++++++++++ net-analyzer/fail2ban/fail2ban-9999.ebuild | 6 +- .../fail2ban-0.11.2-adjust-apache-logs-paths.patch | 29 +++++ 3 files changed, 165 insertions(+), 1 deletion(-)