strange errors from BIND-9.1.1

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Fri Jun 1 03:36:10 UTC 2001


> 
> On Thu, May 31, 2001 at 05:45:04PM +0000, pelln at icke-reklam.ipsec.nu.invalid 
> wrote:
> > 
> > Gary Kline <kline at ns1.thought.org> wrote:
> > 
> > 
> > 
> > 
> > > 	This is really strange since I am using the FreeBSD port 
> > > 	of BIND.  Anybody know what is causing these errors?
> > 
> > FreeBSD has a long standing bug in /dev/urandom
> > 
> > I think a fix is done is 4.3

	4.3 stops the error message, however the following patch
	still needs to be applied to stable for correct operation.

	Mark

Index: sys/i386/i386/mem.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/mem.c,v
retrieving revision 1.79.2.7
diff -u -r1.79.2.7 mem.c
--- sys/i386/i386/mem.c 2001/03/25 06:52:46     1.79.2.7
+++ sys/i386/i386/mem.c 2001/06/01 03:34:13
@@ -237,6 +237,8 @@
                        if (poolsize == 0) {
                                if (buf)
                                        free(buf, M_TEMP);
+                               if ((flags & IO_NDELAY) != 0)
+                                       return (EWOULDBLOCK);
                                return (0);
                        }
                        c = min(c, poolsize);

> > 
> > It's harmless when used with bidn anyway.
> > 
> 
> 	Any 4.2 or later according to the main README.  So I've cvsup'd
> 	the latest src and will  rebuild.    ... .
> 
> 	What is bidn?
> 
> 	gary
> 
> > 
> 
> -- 
>    Gary D. Kline    kline at thought.org  www.thought.org    Public service Unix
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list