Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2000 09:57:12 -0600 
From:      Tony Johnson <tony@showmaster.com>
To:        'Gene Harris' <zeus@tetronsoftware.com>, freebsd-questions@FreeBSD.ORG
Subject:   RE: chroot option for named
Message-ID:  <5527D19B23BFD3118FBC00E0811068061DCC@piranha.showmaster.com>

next in thread | raw e-mail | index | archive | help
Experimented with that myself and yes I had to create a chroot directory,
and had to install bind with makefile.set altered with the dest-dir set to
the chroot.  I had alot of trouble with ndc being able to make connections,
but come to find out that ndc restart just kills and makes a new process
instead of rehasing the configs.  It'd be nice if there was a port that
asked u for a chroot dir and then set it all up for ya  :-)

> -----Original Message-----
> From:	Gene Harris [SMTP:zeus@tetronsoftware.com]
> Sent:	Tuesday, February 01, 2000 9:01 AM
> To:	freebsd-questions@FreeBSD.ORG
> Subject:	chroot option for named
> 
> I have been playing around with the -t option for named.
> I created a testuser and testgrp along with a directory
> /tmp/named to try out the options.  I used the command line
> named -u testuser -g testgrp -t /tmp/named.
> 
> When I start named this way, I get an error message that
> named cannot find named.conf.  The only way I was able to
> get the program to operate correctly was to create
> /tmp/named/etc/namedb directory and then move named.conf
> from the normal etc directory.
> 
> Is this the correct behavior?  Or did I make a typical
> newbie mistake?  :-)
> 
> *==============================================*
> *Gene Harris      http://www.tetronsoftware.com*
> *FreeBSD Novice                                *
> *==============================================*
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5527D19B23BFD3118FBC00E0811068061DCC>