From owner-freebsd-questions Tue Feb 1 7:57:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from piranha.showmaster.com (piranha.showmaster.com [207.204.83.83]) by builder.freebsd.org (Postfix) with ESMTP id 7C1313E14 for ; Tue, 1 Feb 2000 07:57:21 -0800 (PST) Received: by piranha.showmaster.com with Internet Mail Service (5.0.1461.28) id ; Tue, 1 Feb 2000 09:57:13 -0600 Message-ID: <5527D19B23BFD3118FBC00E0811068061DCC@piranha.showmaster.com> From: Tony Johnson To: 'Gene Harris' , freebsd-questions@FreeBSD.ORG Subject: RE: chroot option for named Date: Tue, 1 Feb 2000 09:57:12 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1461.28) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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