BIND9 error in FreeBSD - errno2result.c:109: unexpected error?
Mark Andrews
Mark_Andrews at isc.org
Wed Aug 17 22:57:23 UTC 2005
>
> On Wed, 17 Aug 2005, Mark Andrews wrote:
>
> >
> >> I have been having some issues with getting BIND 9.3 to work nicely on a
> >> FreeBSD 5.3 box. It's configured to run in a chroot jail under the
> >> /chroot directory, and when I run it, it seems to load fine, but during
> >> the load process, I get these messages:
> >>
> >> Aug 16 16:28:36 [PROTECTED] named[13811]: starting BIND 9.3.1 -u named
> >> -t /chroot -c /etc/named.conf
> >> Aug 16 16:28:36 [PROTECTED] named[13811]: command channel listening on
> >> 127.0.0.1#953
> >> Aug 16 16:28:36 [PROTECTED] named[13811]: errno2result.c:109: unexpected
> >> error:
> >> Aug 16 16:28:36 [PROTECTED] named[13811]: unable to convert errno to
> >> isc_result: 6: Device not configured
> >>
> >> While this doesn't appear to be affecting the nameserver, I'm trying to
> >> avoid errors at all (especially "unexpected" errors). Has anyone
> >> encountered anything like this at all? I've done the standard google
> >> searching and only found one instance where there was a similar problem,
> >> but that was chroot going to the wrong directory. That doesn't appear to
> >> be the case with this one...
> >>
> >> /Chris
> >
> > Look at your mount options for the chroot area. In particular
> > "nodev".
> >
> > Mark
>
> I'm jumping in for Chris, as he's out for the next few days.
>
> The vol is mounted normaly:
>
> /dev/da0s1e /chroot ufs rw 2 2
>
> Here is the /dev in chroot:
>
> drwxr-xr-x 2 root named 512 Aug 16 14:48 .
> drwxr-xr-x 7 root named 512 Aug 15 11:02 ..
> srwxrw-rw- 1 root named 0 Aug 16 14:48 log
> crwxrw-rw- 1 root named 1, 3 Aug 12 12:44 null
> crwxrw-rw- 1 root named 1, 8 Aug 12 12:44 random
> crwxrw-rw- 1 root named 1, 5 Aug 12 12:44 zero
>
> TIA -- Steve
Unless FreeBSD 5 changed the node numbers you have them wrong. The
following are from FreeBSD 4.
drugs:bind9-gdib 08:55 {529} % ls -l /dev/null
crw-rw-rw- 1 root wheel 2, 2 Aug 18 08:51 /dev/null
drugs:bind9-gdib 08:55 {530} % ls -l /dev/random
crw-r--r-- 1 root wheel 2, 3 Jul 3 11:38 /dev/random
drugs:bind9-gdib 08:55 {531} % ls -l /dev/zero
crw-rw-rw- 1 root wheel 2, 12 Jul 3 11:38 /dev/zero
drugs:bind9-gdib 08:55 {532} %
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list