Re: 5.3-RC1: jail + bind9, devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

From: Andy Hilker <ah_at_crypta.net>
Date: Tue, 19 Oct 2004 18:30:52 +0200
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
Received on Tue Oct 19 2004 - 14:30:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC