BIND 9.3.2b2 on FreeBSD 6.0-RC1

J.D. Bronson jbronson at wixb.com
Wed Oct 26 15:01:56 UTC 2005


At 09:32 AM 10/26/2005, Mark Andrews wrote:
> > 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?
>
>         It doesn't like the chroot /dev/random.  ktrace should
>         show exactly what is failing.
>
>         ktrace named -f -t ... -u ...
>
>         Note named falls back to the pre chroot /dev/random.


Here is the only relevant part of ktrace that seems to show this:

  28050 named    RET   read 1279/0x4ff
  28050 named    CALL  close(0x4)
  28050 named    RET   close 0
  28050 named    CALL  open(0x8195c54,0x2,0)
  28050 named    NAMI  "/dev/null"
  28050 named    RET   open 4
  28050 named    CALL  stat(0x8191897,0xbfbfeb20)
  28050 named    NAMI  "/dev/random"
  28050 named    RET   stat 0
  28050 named    CALL  open(0x8191897,0x4,0)
  28050 named    NAMI  "/dev/random"
  28050 named    RET   open 5
  28050 named    CALL  fcntl(0x5,0x3,0x281bb3e9)
  28050 named    RET   fcntl 4
  28050 named    CALL  fcntl(0x5,0x4,0x4)
  28050 named    RET   fcntl 0
  28050 named    CALL  chroot(0xbfbfed4d)
  28050 named    NAMI  "/var/named"
  28050 named    RET   chroot 0
  28050 named    CALL  chdir(0x81951cc)
  28050 named    NAMI  "/"
  28050 named    RET   chdir 0
  28050 named    CALL  pipe
  28050 named    RET   pipe 6
  28050 named    CALL  sigprocmask(0x3,0xbfbfeac0,0xbfbfeab0)
  28050 named    RET   sigprocmask 0
  28050 named    CALL  fork
  28050 named    RET   fork 28051/0x6d93
  28050 named    CALL  sigprocmask(0x3,0xbfbfeab0,0)
  28050 named    RET   sigprocmask 0
  28050 named    CALL  close(0x7)
  28050 named    RET   close 0
  28050 named    CALL  read(0x6,0xbfbfeb0f,0x1)
  28050 named    GIO   fd 6 read 1 byte
        "\0"
  28050 named    RET   read 1
  28050 named    CALL  exit(0)


..but I dont know what to make of this output.






-- 
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