Subject: pkg/35513: nsd default install does not work on IPv4 only kernels
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <martin@aprisoft.de>
List: pkgsrc-bugs
Date: 01/29/2007 10:20:00
>Number: 35513
>Category: pkg
>Synopsis: nsd default install does not work on IPv4 only kernels
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 29 10:20:00 +0000 2007
>Originator: Martin Husemann
>Release: NetBSD 4.99.8
>Organization:
>Environment:
System: NetBSD nelly.aprisoft.de 4.99.8 NetBSD 4.99.8 (NELLY) #2: Wed Jan 17 10:34:17 CET 2007 martin@nelly.aprisoft.de:/usr/src/sys/arch/sparc64/compile/NELLY sparc64
Architecture: sparc64
Machine: sparc64
>Description:
I installed pkgsrc/net/nsd and tried to start it:
nsdc start
[1170065601] nsd[10027]: error: cannot parse address '(null)'
After some poking around in the source (this happens early in "main"),
it ocured to me, that it does not like my IPv4-only kernel (blame my ISP!)
Adding
# Flags to pass to nsd on startup
flags="-4"
to /usr/pkg/etc/nsd/nsdc.conf worked around it.
This would not be much of a problem, if the mode of failure would not be
so lame.
>How-To-Repeat:
s/a
>Fix:
n/a