From 8bcb25c3a2fb5415abfdedd665a488076d5b5b48 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 10 Apr 2014 23:16:11 -0400 Subject: [PATCH] defining empty defaults for syslog_ log targets for common (Thanks @chtheis, partial fix to #682) --- config/paths-common.conf | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/config/paths-common.conf b/config/paths-common.conf index 64eec744..008dab4e 100644 --- a/config/paths-common.conf +++ b/config/paths-common.conf @@ -7,12 +7,17 @@ after = paths-overrides.local [DEFAULT] - - sshd_log = %(syslog_authpriv)s dropbear_log = %(syslog_authpriv)s +# There is no sensible generic defaults for syslog log targets, thus +# leaving them empty here so that no errors while parsing/interpollatin configs +syslog_daemon = +syslog_ftp = +syslog_local0 = +syslog_mail_warn = +syslog_user = # from /etc/audit/auditd.conf auditd_log = /var/log/audit/audit.log @@ -31,7 +36,7 @@ lighttpd_error_log = /var/log/lighttpd/error.log 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_log = %(syslog_ftp)s # http://svnweb.freebsd.org/ports/head/ftp/proftpd/files/patch-src_proftpd.8.in?view=markup # defaults to ftp but can be overwritten.