Package: bind9 Version: 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 Severity: normal Tags: upstream
Hello everyone, I'm having trouble with bind's logging feature. I configured bind9 to log all DNS queries; However, I'd like to parse that log in real-time, so I decided to use a FIFO as my logfile. Now what does bind do in this configuration? It detects that my log file is not a normal file (which is actually a bit unusual, but perfectly OK), and decides that instead of writing to that file, it has to crash. This is what bind has written to my syslog: Mar 1 16:20:35 localhost named[8771]: isc_file_isplainfile '/var/log/query.log' failed: invalid file Mar 1 16:20:35 localhost named[8771]: configuring logging: invalid file Mar 1 16:20:35 localhost named[8771]: loading configuration: invalid file Mar 1 16:20:35 localhost named[8771]: exiting (due to fatal error) Expected results: bind doesn't exit and logs queries to my FIFO as it is supposed to. -- System Information: Debian Release: 7.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bind9 depends on: ii adduser 3.113+nmu3 ii bind9utils 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 ii debconf [debconf-2.0] 1.5.49 ii libbind9-80 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 ii libc6 2.13-38+deb7u8 ii libcap2 1:2.22-1.2 ii libdns88 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u3 ii libisc84 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 ii libisccc80 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 ii libisccfg82 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 ii liblwres80 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 ii libssl1.0.0 1.0.1e-2+deb7u14 ii libxml2 2.8.0+dfsg1-7+wheezy3 ii lsb-base 4.1+Debian8+deb7u1 ii net-tools 1.60-24.2 ii netbase 5.0 bind9 recommends no packages. Versions of packages bind9 suggests: ii bind9-doc 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 ii dnsutils 1:9.8.4.dfsg.P1-6+nmu2+deb7u4 pn resolvconf <none> pn ufw <none> -- Configuration Files: /etc/bind/named.conf.local changed [not included] -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org