BIND 9.3.2b2 on FreeBSD 6.0-RC1

J.D. Bronson jbronson at wixb.com
Wed Oct 26 12:22:54 UTC 2005


I decided to manually build Bind 9.3.2b2 on FreeBSD.
I then ran 'make check' and it passed all that it should.

I then removed /var/named and re set it up to be chrooted all manually.
( i have setup many chrooted setups so I feel confident that I know 
the way to do this...)


The important facts:

1. named will run as '-u bind'.
2. /var is not mounted 'nodev'.
3. I have /var/named setup correctly:

drwxr-xr-x  2 root  wheel  512 Oct 26 06:53 dev
drwxr-x---  2 root  bind   512 Oct 26 06:42 etc
drwxrwx---  2 root  bind   512 Oct 26 06:40 log
drwxr-xr-x  2 root  wheel  512 Oct 26 06:36 master
drwxrwx---  2 root  bind   512 Oct 26 06:47 run
drwxrwxr-x  2 root  bind   512 Oct 26 06:47 slave
drwxr-xr-x  2 root  wheel  512 Oct 26 06:42 standard

and my /dev in chroot is setup to match /dev:

# ls -la /dev/null
crw-rw-rw-  1 root  wheel    0,   8 Oct 26 06:31 /dev/null

# ls -al /dev/random
crw-rw-rw-  1 root  wheel    0,  19 Oct 22 13:28 /dev/random


now my /var/named/dev:
crw-rw-rw-  1 root  wheel    0,   8 Oct 26 06:38 null
crw-rw-rw-  1 root  wheel    0,  19 Oct 26 06:39 random


I start named '/usr/local/sbin/named -t /var/named -u bind'

and it runs fine, but complains:

Oct 26 06:47:13 shadow named[27822]: starting BIND 9.3.2b2 -t 
/var/named -u bind
...
....
Oct 26 06:47:13 shadow named[27822]: errno2result.c:109: unexpected error:
Oct 26 06:47:13 shadow named[27822]: unable to convert errno to 
isc_result: 45: Operation not supported
Oct 26 06:47:13 shadow named[27822]: could not open entropy source 
/dev/random: unexpected error
Oct 26 06:47:13 shadow named[27822]: using pre-chroot entropy source 
/dev/random

any thoughts on this?

This is FreeBSD 6.0 ...thanks




-- 
J.D. Bronson
Information Services
Telecommunications Site Support
Aurora Health Care - Milwaukee, Wisconsin
Office: 414.978.8282 // Fax: 414.977.5299



More information about the bind-users mailing list