[Logcheck-devel] Bug#302678: Incorrect pattern for matching /var/run/dnsmasq/resolv.conf

Thomas Hood jdthood at aglu.demon.nl
Fri Apr 15 07:40:34 UTC 2005


reopen 302678
severity 302678 normal
retitle 302678 Incorrect pattern for matching /var/run/dnsmasq/resolv.conf
thanks


The pattern you added in version 1.2.37:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dnsmasq\[[[:digit:]]+\]: reading /etc/(run/dnsmasq/)?resolv.conf$

is obviously not equivalent to the two patterns it was meant to replace:

^\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$

Notice that in the second case the file is in /var/.
-- 
Thomas Hood <jdthood at aglu.demon.nl>






More information about the Logcheck-devel mailing list