From owner-freebsd-questions@FreeBSD.ORG Tue May 2 18:28:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E96EB16A890 for ; Tue, 2 May 2006 18:28:02 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id A927443D78 for ; Tue, 2 May 2006 18:27:54 +0000 (GMT) (envelope-from gibblertron@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so707401nfc for ; Tue, 02 May 2006 11:27:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VhkCUYQ1z3yRClJMfQOMllL/EjnvHmQdxfVl7ywU429TYja8wJpUglE0JKO2q5JyY47lp6DfA1dhTfrmdWwTFBuujyN7X1OLgUyS+XHHZZLZ2cLO/dU0oHj7HJIFKDWlu63SLosPsk2jOheyMqbEbw7uBMiDlLBjg9cBGgf7YrE= Received: by 10.48.164.3 with SMTP id m3mr766191nfe; Tue, 02 May 2006 11:27:28 -0700 (PDT) Received: by 10.48.243.9 with HTTP; Tue, 2 May 2006 11:27:28 -0700 (PDT) Message-ID: Date: Tue, 2 May 2006 11:27:28 -0700 From: patrick To: "FreeBSD Questions Mailing List" In-Reply-To: <226ae0c60605010611o72c58d17va14932af70768ab5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <226ae0c60605010611o72c58d17va14932af70768ab5@mail.gmail.com> Cc: David Robillard Subject: Re: BIND inside a jail on FreeBSD 6.0 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, 02 May 2006 18:28:03 -0000 Thanks, that did the trick. I'm not running this in a jail because I'm paranoid or anything -- I just need a test environment, and I don't have an extra machine kicking around. :) Patrick On 5/1/06, David Robillard wrote: > BIND is trying to setup a chroot(8) before it starts. If you're > already inside a jail, then IMHO it is a little overkill (i.e. Running > BIND in a chroot inside a jail). > > Check the BIND related values in rc.conf(5). The chroot(8) startup is > triggered via this one: > > named_chrootdir=3D"/var/named" # Chroot directory (or "" not to auto-c= hroot it) > > So try setting it to > > named_chrootdir=3D"" > > and it should disable the chroot code from the startup script. > > Of course, if you still need to chroot(8) your named(8) install inside > your jail, then you're at the same point. Consider running another > jail perhaps? Or use BIND's view feature. > > Hope this helps, > > David > > > > Thanks, > > > > Patrick > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions- > > unsubscribe@freebsd.org" > > -- > David Robillard > UNIX systems administrator, CISSP > Montreal: +1 514 966 0122 >