Date: Mon, 14 Jul 1997 12:52:55 +0200 (CEST) From: beckmann@nacamar.net To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/4087: nameservice terminates after ndc restart Message-ID: <199707141052.MAA06738@mail.nacamar.de> Resent-Message-ID: <199707141100.EAA13873@hub.freebsd.org>
index | next in thread | raw e-mail
>Number: 4087
>Category: bin
>Synopsis: nameservice terminates after ndc restart
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 14 04:00:01 PDT 1997
>Last-Modified:
>Originator: Michael Beckmann
>Organization:
Nacamar Data Communications
>Release: FreeBSD 2.2-970703-RELENG i386
>Environment:
BIND 4.9.6
FreeBSD 2.2-RELENG with stock BIND 4.9.6 from FreeBSD distribution
FreeBSD 2.2.1-RELEASE with updated libs and BIND 4.9.6 from BIND distribution
Problem does not exist in FreeBSD 2.2.2-RELEASE which has BIND 4.9.4P1
>Description:
The ndc program is used as a frontend for BIND. Executing
ndc restart
will terminate named, but not restart it. This used to work in previous
releases.
cron jobs that restart named on a regular basis via ndc will terminate
nameservice.
>How-To-Repeat:
1. launch named -b /etc/namedb/named.boot
2. execute ndc reload
>Fix:
>From the ndc(8) manpage:
>Audit-Trail:
>Unformatted:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
BUGS
Arguments to named are not preserved by restart, or known
by start. Some mechanism for controlling the parameters
and environment should exist.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<
The default location for the named.boot file in BIND is /etc/named.boot .
FreeBSD keeps that file in /etc/namedb/named.boot and starts named with
the argument -b /etc/namedb/named.boot . So the solution might be to
either change the default location of the file in BIND or in FreeBSD.
Or fix ndc. Or make a symbolic link. Or... Or....
I don't know why this problem hasn't been there in previous
releases. The ndc bug seems to be a long standing one. I can do an
ndc restart just fine on a FreeBSD 2.2.2-RELEASE system, although
named was started with -b /etc/namedb/named.boot .
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707141052.MAA06738>
