I've been experiencing this irritation for the last year and a half and
I've finally diagnosed it.

The problem seems to be that the log line emitted by dhclient has
changed since the logcheck pattern was written. A sample log line is:

Oct 11 07:22:55 mythtv dhclient: DHCPREQUEST of 192.168.1.2 on eth0 to
192.168.1.1 port 67 (xid=0x2e36de11)


The current pattern in /etc/logcheck/ignore.d.server/dhclient is:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhclient(-2.2.x)?:
DHCP(REQUEST|RELEASE) (of [.0-9]{7,15} )?on [[:alnum:].-]+ to
[.0-9]{7,15} port 67$

This doesn't match the final xid section of the log line, so the line
should be updated to something like the following:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhclient(-2.2.x)?:
DHCP(REQUEST|RELEASE) (of [.0-9]{7,15} )?on [[:alnum:].-]+ to
[.0-9]{7,15} port 67 (\(xid=0x[[:alnum:]]+\))?$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1134592

Title:
  isc-dhcp 4.2.4-5's DHCPREQUEST messages no longer match ignore regex

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logcheck/+bug/1134592/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to