Subject: bin/30662: "/etc/rc.d/named start" doesn't work
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <krille@users.sf.net>
List: netbsd-bugs
Date: 07/04/2005 20:50:00
>Number: 30662
>Category: bin
>Synopsis: "/etc/rc.d/named start" doesn't work
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 04 20:50:00 +0000 2005
>Originator: Christian Hattemer
>Release: 3.0_BETA
>Organization:
>Environment:
NetBSD sparc 3.0_BETA NetBSD 3.0_BETA (SPARC-TEST) #0: Wed Jun 15 16:21:50 CEST 2005
>Description:
The NetBSD Guide (section 23.4) states that the only thing to do to get a cache-only nameserver is to put named=yes into /etc/rc.conf.
However "/etc/rc.d/named start" fails with:
Starting named.
Jul 4 22:32:39 sparc named[3260]: none:0: open: /etc/named.conf: file not found
Jul 4 22:32:39 sparc named[3260]: loading configuration: file not found
Jul 4 22:32:39 sparc named[3260]: exiting (due to fatal error)
This is a quite fresh install with nothing relevant changed.
NetBSD 2.0 is also affected.
>How-To-Repeat:
Do "/etc/rc.d/named start"
Look at the error
>Fix:
The configfile is in /etc/namedb/named.conf.
Seems it was moved without changing the compiled-in path to it.