Fix mariadb/mysql log handling
This commit is contained in:
parent
b818fb6ecc
commit
5fb4dae05d
2 changed files with 12 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 <orion@cora.nwra.com> - 0.9.4-2
|
||||
- Fix mariadb/mysql log handling
|
||||
|
||||
* Wed Mar 9 2016 Orion Poplawski <orion@cora.nwra.com> - 0.9.4-1
|
||||
- Update to 0.9.4
|
||||
- Use mariadb log path by default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue