BIND inside a jail on FreeBSD 6.0

Chad Leigh -- Shire.Net LLC chad at shire.net
Mon May 1 15:30:27 UTC 2006


On May 1, 2006, at 7:11 AM, 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="/var/named"    # Chroot directory (or "" not to  
> auto-chroot it)
>
> So try setting it to
>
> named_chrootdir=""

At least on my 6.0 system (upgraded from 5.4), that is the default  
in /etc/defaults/rc.conf so if you did not change it in /etc/rc.conf  
it should just work inside the jail anyway.  Check this to make sure  
what you are doing.

Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





More information about the freebsd-questions mailing list