[Logcheck-devel] Bug#302678: Addition ignore line for dnsmasq

Thomas Hood jdthood at aglu.demon.nl
Sat Apr 2 10:10:21 UTC 2005


Package: logcheck-database
Version: 1.2.35
Severity: wishlist
Tags: patch

Here is a patch to make logcheck ignore a routine message that dnsmasq
prints when resolvconf is installed.

Perhaps the two "reading ... resolv.conf" lines can be collapsed into
one but I will let you implement that.  :)


--- /etc/logcheck/ignore.d.server/dnsmasq_ORIG	2005-01-08 11:00:37.000000000 +0100
+++ /etc/logcheck/ignore.d.server/dnsmasq	2005-04-02 12:05:34.000000000 +0200
@@ -1,5 +1,6 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dnsmasq\[[[:digit:]]+\]: read /etc/hosts - [[:digit:]]+ addresses$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dnsmasq\[[[:digit:]]+\]: reading /etc/resolv.conf$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dnsmasq\[[[:digit:]]+\]: reading /var/run/dnsmasq/resolv.conf$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dnsmasq\[[[:digit:]]+\]: using nameserver [.[:digit:]#]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dnsmasq\[[[:digit:]]+\]: (DHCPDISCOVER|DHCPOFFER|DHCPREQUEST|DHCPACK|DHCPRELEASE|DHCPINFORM|BOOTP)\([[:alnum:]]+\) [ :[:alnum:]._-]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dnsmasq\[[[:digit:]]+\]: ignoring nameserver 127\.0\.0\.1 - local interface$


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=en_IE at euro, LC_CTYPE=en_IE at euro (charmap=ISO-8859-15)

Versions of packages logcheck-database depends on:
ii  debconf [debconf-2.0]         1.4.32     Debian configuration management sy

-- debconf information:
* logcheck-database/rules-directories-note:
* logcheck-database/standard-rename-note:
* logcheck-database/conffile-cleanup: true
* logcheck-database/security_level: workstation





More information about the Logcheck-devel mailing list