Public bug reported:

On Ubuntu 16.04 I get unmatched lines from named like

Dec 26 03:24:41 localhost named[2690]: zone 10.in-addr.arpa/IN: notify
from 134.76.00.00#11179: serial 390000000


I fixed it using:


--- named       2016-12-27 13:47:30.375372799 +0100
+++ named_      2016-12-27 13:48:31.728155333 +0100
@@ -213,8 +213,6 @@
       $ZoneRemoved{$Zone}++;
    } elsif ( ($Zone) = ( $ThisLine =~ /received notify for zone '(.*)'/ ) ) {
       $ZoneReceivedNotify{$Zone}++;
-   } elsif ( ($Zone) = ( $ThisLine =~ /zone (.+): notify from .+: serial 
[0-9]+/ ) ) {
-      $ZoneReceivedNotify{$Zone}++;
    } elsif ( ($Zone) = ( $ThisLine =~ /zone (.*): notify from .* up to date/ ) 
) {
       $ZoneReceivedNotify{$Zone}++;
    } elsif ( ($Zone) = ( $ThisLine =~ /zone (.+): refused notify from 
non-master/ ) ) {

** Affects: logwatch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch xenial

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

Title:
  [Patch] Unmatched named lines

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

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

Reply via email to