Subject: chrooted named (Re: telnet -4 command switches on IPv4 mode for other apps)
To: Matthias Scheler <tron@zhadum.org.uk>
From: Geert Hendrickx <ghen@telenet.be>
List: netbsd-users
Date: 02/12/2007 10:41:50
On Mon, Feb 12, 2007 at 06:52:57AM +0000, Matthias Scheler wrote:
> On Mon, Feb 12, 2007 at 06:47:16AM +0000, Matthias Scheler wrote:
> > On Mon, Feb 12, 2007 at 04:55:18PM +1100, Alasdair wrote:
> > > local host named [255]:none:0:open:/etc/named.conf file not found
> > > local host named [255]loading config file : file not found
> > > local host named [255] exiting due to fatal error
> >
> > Please copy "/etc/named.conf" to "/var/chroot/named/etc" and run
> > "/etc/rc.d/named start" afterwards.
>
> I almost forgot: you also need to copy the directory "/etc/namedb"
> including all the files in it to "/var/chroot/named/etc/namedb".

I think we should move them there by default, since running named chrooted
is the preferred mode of operation anyway,  and moving /etc/named.conf and
namedb to the chroot area manually needs other changes like adding entries
to /etc/mtree/special.local and /etc/changelist to make it compatible with
the daily /etc/security script.

	Geert