[Bug 1652764] Re: [Patch] Unmatched named lines

2016-12-29 Thread Steffen Klemer
Yes, it is for logwatch and not bind.
No, it is not upstream.

I'll send it to upstream then and post the relevant link/bug id here.

-- 
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


[Bug 1652764] Re: [Patch] Unmatched named lines

2016-12-27 Thread Steffen Klemer
To be more specific:

root@fernglas:/var/log# named -V
BIND 9.10.3-P4-Ubuntu 
[...]

root@fernglas:/var/log# dpkg -s bind9
Package: bind9
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 1626
Maintainer: Ubuntu Developers 
Architecture: amd64
Version: 1:9.10.3.dfsg.P4-8ubuntu1.3
[...]

-- 
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


[Bug 1652764] [NEW] [Patch] Unmatched named lines

2016-12-27 Thread Steffen Klemer
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 39000


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