[syslog-ng] syslog-ng 3.1.2-1 problem/bug/?

VDR User user.vdr at gmail.com
Mon Aug 16 05:14:11 CEST 2010


Hi.  I'm using Debian testing and "upgraded" from 3.1.1-3 to 3.1.2-1
earlier.  Now I'm getting "Error opening file for writing;
filename='/logs/vdr.log', error='Permission denied (13)'".. This
problem does _not_ occur with 3.1.1-3, which I have downgraded back to
(until the problem/bug is solved).  Are there any known issues causing
this?  I don't believe there are any permission problems considering
the user owns that dir and it works fine in 3.1.1-3.

Following is the diff between the syslog-ng.conf's.  The - lines are
from my working 3.1.1-3 conf, the + lines are from the 3.1.2-1
conf....  Any help is appreciated.

Best regards,
Derek

--- /etc/syslog-ng/syslog-ng.conf       2010-08-15 12:01:35.000000000 -0700
+++ /etc/syslog-ng/syslog-ng.conf.dpkg-new      2010-08-04
12:07:22.000000000 -0700
@@ -6,7 +6,8 @@

 # First, set some global options.
 options { long_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
-         owner("root"); group("adm"); perm(0640);
+         owner("root"); group("adm"); perm(0640); stats_freq(0);
+         bad_hostname("^gconfd$");
 };

 ########################
@@ -32,10 +33,10 @@
 destination d_auth { file("/var/log/auth.log"); };
 destination d_cron { file("/var/log/cron.log"); };
 destination d_daemon { file("/var/log/daemon.log"); };
-destination d_kern { file("/var/log/kern.log" template("$FULLDATE
$MESSAGE\n")); };
+destination d_kern { file("/var/log/kern.log"); };
 destination d_lpr { file("/var/log/lpr.log"); };
 destination d_mail { file("/var/log/mail.log"); };
-destination d_syslog { file("/var/log/syslog" template("$FULLDATE
$MESSAGE\n")); };
+destination d_syslog { file("/var/log/syslog"); };
 destination d_user { file("/var/log/user.log"); };
 destination d_uucp { file("/var/log/uucp.log"); };

@@ -106,7 +107,7 @@
                         local6, local7) and not filter(f_debug); };
 filter f_mail { facility(mail) and not filter(f_debug); };
 filter f_news { facility(news) and not filter(f_debug); };
-filter f_syslog3 { facility(syslog) and not filter(f_debug); };
+filter f_syslog3 { not facility(auth, authpriv, mail) and not
filter(f_debug); };
 filter f_user { facility(user) and not filter(f_debug); };
 filter f_uucp { facility(uucp) and not filter(f_debug); };

@@ -152,14 +153,3 @@
 # All messages send to a remote site
 #
 #log { source(s_src); destination(d_net); };
-
-
-########################
-# VDR LOGGING
-########################
-destination d_vdr { file("/logs/vdr.log" template("$FULLDATE
$MESSAGE\n") owner("test") group("staff") perm(0640)); };
-
-filter f_vdr   {     program("vdr"); };
-filter f_novdr { not program("vdr"); };
-
-log { source(s_src); filter(f_vdr); destination(d_vdr); };


More information about the syslog-ng mailing list