]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Disable the use of kqueue in the ISC library. This avoids a problem
authorShawn Routhier <sar@isc.org>
Thu, 30 Dec 2010 22:35:48 +0000 (22:35 +0000)
committerShawn Routhier <sar@isc.org>
Thu, 30 Dec 2010 22:35:48 +0000 (22:35 +0000)
between the fork and socket code that caused the dhcpd process to
use all available cpu if the program daemonized itself.
[ISC-Bugs #21911]

RELNOTES
util/Makefile.bind

index 4b8c55c927056b30a2d3d7f8ed9eb7431dc38af5..78811b7d5c1cd3288593898ebfa3710363b67f75 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -175,6 +175,11 @@ work on other platforms. Please report any problems and suggested fixes to
   option.  Thanks to a patch from Marius Tomaschewski.
   [ISC-Bugs #22055]
 
+- Disable the use of kqueue in the ISC library.  This avoids a problem
+  between the fork and socket code that caused the dhcpd process to
+  use all available cpu if the program daemonized itself.
+  [ISC-Bugs #21911]
+
                        Changes since 4.2.0b2
 
 - Add declaration for variable in debug code in alloc.c.  [ISC-Bugs #21472]
index d0ea246abfeb3a495188db8479553cbf570412ec..4e8dd3d5f8967aabf5ae46caba83faf7274db42b 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2009-2010  Internet Systems Consortium, Inc. ("ISC")
 #
 # Permission to use, copy, modify, and/or distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +13,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.bind,v 1.4 2009/12/04 22:27:10 dhankins Exp $
+# $Id: Makefile.bind,v 1.5 2010/12/30 22:35:48 sar Exp $
 
 # Configure and build the bind libraries for use by DHCP
 
@@ -45,7 +45,7 @@ all:
 # Currently disable the epoll and devpoll options as they don't interact
 # well with the DHCP code.
        @echo Configuring BIND Export libraries for DHCP.
-       @(cd ${bindsrcdir} && ./configure --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib > ${binddir}/configure.log)
+       @(cd ${bindsrcdir} && ./configure --disable-kqueue --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib > ${binddir}/configure.log)
 
 # Build the export libraries
        @echo Building BIND Export libraries - this takes some time.