From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 16:30:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5099516A4CE for ; Tue, 19 Oct 2004 16:30:55 +0000 (GMT) Received: from mail.crypta.net (mail.crypta.net [83.136.131.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB17A43D1D for ; Tue, 19 Oct 2004 16:30:54 +0000 (GMT) (envelope-from ah@crypta.net) Received: by mail.crypta.net (Postfix, from userid 1001) id 38E47ECD41F; Tue, 19 Oct 2004 18:30:53 +0200 (CEST) Date: Tue, 19 Oct 2004 18:30:52 +0200 From: Andy Hilker To: Clive Lin Message-ID: <20041019163052.GA4185@mail.crypta.net> References: <20041018173820.GB56576@mail.crypta.net> <20041019141411.GB929@CARTIER> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041019141411.GB929@CARTIER> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xEC6E1071 X-PGP-Fingerprint: 9B2E 5892 AD93 D5C5 FB8E 3912 35D6 951B EC6E 1071 Organization: cryptobank - Andy Hilker cc: freebsd-current@freebsd.org Subject: Re: 5.3-RC1: jail + bind9, devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 16:30:55 -0000 Hi, You (Clive Lin) wrote: > Hi, > > Here is my 'cheat sheet' for running chrooted bind9 within jail: > > o First, make sure the the /etc/namedb is correctly symlinked to > /var/named/etc/namedb. make distribution (part of jail building > process) does _not_ do it rignt. > > o Assuming your jail is at /d/jails/myjail, and the hostname is myjail, > now issue > > # cd /d/jails/myjail/var/named/dev > # mknod random c 245 0; mknod null c 2 2 > > o finally, put 2 lines in myjail:/etc/rc.conf > named_enable="YES" > named_chroot_autoupdate="NO" Thanks, named_chroot_autoupdate="NO" was the trick... no error messages on startup now :) bye, Andy