diff --git a/fail2ban-mysql.patch b/fail2ban-mysql.patch index 5efa807..4eb52a3 100644 --- a/fail2ban-mysql.patch +++ b/fail2ban-mysql.patch @@ -1,13 +1,19 @@ diff --git a/config/paths-fedora.conf b/config/paths-fedora.conf -index b3c978c..e91845a 100644 +index b3c978c..d13645b 100644 --- a/config/paths-fedora.conf +++ b/config/paths-fedora.conf -@@ -34,7 +34,7 @@ apache_access_log = /var/log/httpd/*access_log +@@ -34,7 +34,8 @@ apache_access_log = /var/log/httpd/*access_log exim_main_log = /var/log/exim/main.log -mysql_log = /var/lib/mysql/mysqld.log +mysql_log = /var/log/mariadb/mariadb.log ++ /var/log/mysqld.log roundcube_errors_log = /var/log/roundcubemail/errors +@@ -48,4 +49,3 @@ pureftpd_backend = systemd + wuftpd_backend = systemd + postfix_backend = systemd + dovecot_backend = systemd +-mysql_backend = systemd diff --git a/fail2ban.spec b/fail2ban.spec index d7024c0..eace602 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -1,7 +1,7 @@ Summary: Daemon to ban hosts that cause multiple authentication errors Name: fail2ban Version: 0.9.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://fail2ban.sourceforge.net/ Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -280,6 +280,9 @@ fi %changelog +* Wed Mar 9 2016 Orion Poplawski - 0.9.4-2 +- Fix mariadb/mysql log handling + * Wed Mar 9 2016 Orion Poplawski - 0.9.4-1 - Update to 0.9.4 - Use mariadb log path by default