summaryrefslogtreecommitdiff
path: root/config/paths-common.conf
diff options
context:
space:
mode:
authorOrion Poplawski <orion@cora.nwra.com>2015-10-07 19:50:03 -0600
committerOrion Poplawski <orion@cora.nwra.com>2015-10-18 20:18:50 -0600
commit75d33c0f096bda44de2f4bb4cd41703a3e4b86d7 (patch)
treeaa4e7c0a66e65d5f9fccf237c0a80078d98f28d4 /config/paths-common.conf
parent3a5d4fdd26b8db2710543360509cf24f91d44f13 (diff)
downloadfail2ban-75d33c0f096bda44de2f4bb4cd41703a3e4b86d7.tar.gz
Add *_backend options for services to allow distros to set the default backend
per service. Set default to systemd for Fedora as appropriate.
Diffstat (limited to 'config/paths-common.conf')
-rw-r--r--config/paths-common.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/paths-common.conf b/config/paths-common.conf
index bf3cfb6a..7a88e5ce 100644
--- a/config/paths-common.conf
+++ b/config/paths-common.conf
@@ -8,8 +8,10 @@ after = paths-overrides.local
[DEFAULT]
sshd_log = %(syslog_authpriv)s
+sshd_backend = auto
dropbear_log = %(syslog_authpriv)s
+dropbear_backend = auto
# There is no sensible generic defaults for syslog log targets, thus
# leaving them empty here so that no errors while parsing/interpolating configs
@@ -18,6 +20,8 @@ syslog_ftp =
syslog_local0 =
syslog_mail_warn =
syslog_user =
+# Set the default syslog backend target to auto
+syslog_backend = auto
# from /etc/audit/auditd.conf
auditd_log = /var/log/audit/audit.log
@@ -38,14 +42,17 @@ suhosin_log = %(syslog_user)s %(lighttpd_error_log)s
# defaults to ftp or local2 if ftp doesn't exist
proftpd_log = %(syslog_ftp)s
+proftpd_backend = auto
# http://svnweb.freebsd.org/ports/head/ftp/proftpd/files/patch-src_proftpd.8.in?view=markup
# defaults to ftp but can be overwritten.
pureftpd_log = %(syslog_ftp)s
+pureftpd_backend = auto
# ftp, daemon and then local7 are tried at configure time however it is overwriteable at configure time
#
wuftpd_log = %(syslog_ftp)s
+wuftpd_backend = auto
# syslog_enable defaults to no. so it defaults to vsftpd_log_file setting of /var/log/vsftpd.log
# No distro seems to set it to syslog by default
@@ -54,13 +61,16 @@ vsftpd_log = /var/log/vsftpd.log
# Technically syslog_facility in main.cf can overwrite but no-one sane does this.
postfix_log = %(syslog_mail_warn)s
+postfix_backend = auto
dovecot_log = %(syslog_mail_warn)s
+dovecot_backend = auto
# Seems to be set at compile time only to LOG_LOCAL0 (src/const.h) at Notice level
solidpop3d_log = %(syslog_local0)s
mysql_log = %(syslog_daemon)s
+mysql_backend = auto
roundcube_errors_log = /var/log/roundcube/errors