NetBSD Problem Report #56053

From hauke@Espresso.Rhein-Neckar.DE  Fri Mar 12 19:06:32 2021
Return-Path: <hauke@Espresso.Rhein-Neckar.DE>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0FFB21A9217
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 12 Mar 2021 19:06:32 +0000 (UTC)
Message-Id: <202103121851.12CIpcwR001547@pizza.causeuse.org>
Date: Fri, 12 Mar 2021 19:51:38 +0100 (CET)
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Reply-To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
To: gnats-bugs@NetBSD.org
Cc: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Subject: net/nsd flags bogus syntax error in zone file
X-Send-Pr-Version: 3.95

>Number:         56053
>Category:       pkg
>Synopsis:       net/nsd flags bogus syntax error in zone file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 12 19:10:00 +0000 2021
>Originator:     Hauke Fath
>Release:        NetBSD 9.1_STABLE
>Organization:
Falling Raindrops
>Environment:


System: NetBSD pizza.causeuse.org 9.1_STABLE NetBSD 9.1_STABLE (BLACKBOX-$Revision: 1.85 $) #0: Wed Feb 17 18:43:31 CET 2021 hauke@pizza.causeuse.org:/var/obj/netbsd-builds/9/amd64/sys/arch/amd64/compile/BLACKBOX amd64
Architecture: x86_64
Machine: amd64
>Description:

	net/nsd has started to flag a bogus syntax error on my local
	zone file (available on request), always in the last line:

# nsd -d -V 99
[2021-03-12 19:20:48.410] nsd[28136]: notice: nsd starting (NSD 4.3.5)
[2021-03-12 19:20:48.410] nsd[28136]: notice: listen on ip-address 127.0.0.1@15053 (udp) with server(s): *
[2021-03-12 19:20:48.410] nsd[28136]: notice: listen on ip-address 127.0.0.1@15053 (tcp) with server(s): *
[2021-03-12 19:20:48.422] nsd[21159]: info: zonefile /etc/pkg/nsd/172.16.7 is not modified
[2021-03-12 19:20:48.422] nsd[21159]: info: zonefile /etc/pkg/nsd/172.16.8 is not modified
[2021-03-12 19:20:48.423] nsd[21159]: info: zonefile /etc/pkg/nsd/172.16.9 is not modified
[2021-03-12 19:20:48.425] nsd[21159]: error: /etc/pkg/nsd/causeuse.org:339: syntax error
[2021-03-12 19:20:48.426] nsd[21159]: error: zone causeuse.org file /etc/pkg/nsd/causeuse.org read with 1 errors
[2021-03-12 19:20:48.685] nsd[21159]: notice: nsd started (NSD 4.3.5), pid 28136

	This does not happen with the previous 4.3.4.

	<https://github.com/NLnetLabs/nsd/issues/154> looks related; a
	patch is in the queue.


>How-To-Repeat:

	Set up nsd with a local zone containing TXT records with brackets etc.


>Fix:

	Roll back the package to 4.3.4, or work in the patches from upstream's #154



>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.