From owner-freebsd-questions@FreeBSD.ORG Tue Sep 25 10:49:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B18A21065670 for ; Tue, 25 Sep 2012 10:49:55 +0000 (UTC) (envelope-from jamie@kode5.net) Received: from kontrol.kode5.net (kontrol.kode5.net [80.229.5.32]) by mx1.freebsd.org (Postfix) with ESMTP id 19DC38FC08 for ; Tue, 25 Sep 2012 10:49:54 +0000 (UTC) Received: from kontrol.kode5.net (localhost [127.0.0.1]) by kontrol.kode5.net (8.14.5/8.14.5) with ESMTP id q8PAnlkb037956 for ; Tue, 25 Sep 2012 11:49:47 +0100 (BST) (envelope-from jamie@kode5.net) Received: (from jamie@localhost) by kontrol.kode5.net (8.14.5/8.14.5/Submit) id q8PAnlcY037955 for freebsd-questions@freebsd.org; Tue, 25 Sep 2012 11:49:47 +0100 (BST) (envelope-from jamie@kode5.net) X-Authentication-Warning: kontrol.kode5.net: jamie set sender to jamie@kode5.net using -f Date: Tue, 25 Sep 2012 11:49:47 +0100 From: Jamie Paul Griffin To: freebsd-questions@freebsd.org Message-ID: <20120925104947.GA6954@kontrol.kode5.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <201209250439.q8P4dbPE041007@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201209250439.q8P4dbPE041007@banyan.cs.ait.ac.th> x-operating-system: FreeBSD 9.1-PRERELEASE amd64 x-pgp-fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38 x-pgp-key: 1D31DC38 User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at kontrol.kode5.net X-Virus-Status: Clean Subject: Re: Change in /etc/rc.d/namend script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 10:49:55 -0000 [ Olivier Nicole wrote on Tue 25.Sep'12 at 11:39:37 +0700 ] > Hi, > > Yesterday I upgraded my DNS server from 7.2 to 8.3 and has the > unpleasant suprise to find that named would not restart after the > upgrade. > > I think I traced it back to the new /etc/rc.d/named script. > > I am runing in named in a chrooted environment and it seems that with > the new script the configuration file must exist in /etc/namedb as > well as in /chroot/etc/namedb. > > Having to duplicate the configuration files to the not chrooted > environment is something new. With the /etc/rc.d/named script > 1.22.2.3.4.1 2008/10/02 that was not needed, and I don't see why it > would be needed now. > > Is there a way to run the new startup script without duplicating (not > even symlinking) the configuration? In you /etc/namedb/named.conf have you specified your zone files using full path names, such as: zone "kode5.net" { type master; file "/etc/namedb/master/kode5.net.db"; }; Using relative paths for your zone files will not work any more. Perhaps this could help?