DragonFly users List (threaded) for 2010-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: HEADS UP: BIND Removal. Short instructions for migration to pkgsrc-BIND
On Tue, 13 Apr 2010 08:35:18 +0200, Jan Lentfer <Jan.Lentfer@web.de>
wrote:
> On Tue, 13 Apr 2010 06:22:03 +0000, Chris Turner
> <c.turner@199technologies.org> wrote:
>> Chris Turner wrote:
>>> http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git
>>
>> was pointed out that I was using http url.. DOH
>
> please stick to bind95 from pkgsrc for now. I experienced many problems
> with bind96 (9.6.1-P3) from pkgsrc like random but frequent crashes. I
> reverted to 9.5.2 and this version seems to be ok so far.
After playing around with this back and forth for a while I think I found
the problem. Well, not actually the problem but a bypass to the BIND
crashes. When building any version of BIND from base autoconfigure will
enable kqueue support which seems to lead to this behaviour. I patched the
Makefiles in pkgsrc to disable kqueue and both bind95 and bind96 have now
my passed my queryperf tests that would originally let them crash within
minutes or even seconds. I will now upgrade my home server to this
kqueue-disabled version of BIND and report later. This are the patches:
----------------------------------------
diff --git a/net/bind95/Makefile b/net/bind95/Makefile
index bb97183..ff2a37b 100644
--- a/net/bind95/Makefile
+++ b/net/bind95/Makefile
@@ -88,3 +88,7 @@ CONFIGURE_ARGS+= --disable-threads
.else
CONFIGURE_ARGS+= --enable-threads
.endif
+
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= --disable-kqueue
+.endif
--------------------------------------
diff --git a/net/bind96/Makefile b/net/bind96/Makefile
index 5fb4233..835fd81 100644
--- a/net/bind96/Makefile
+++ b/net/bind96/Makefile
@@ -40,6 +40,9 @@ CONFIGURE_ARGS+= --disable-atomic
.if ${MACHINE_PLATFORM:MNetBSD-*-powerpc} != ""
CONFIGURE_ARGS+= --disable-threads
.endif
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= --disable-kqueue
+.endif
PKG_GROUPS_VARS+= BIND_GROUP
PKG_USERS_VARS+= BIND_USER
---------------------------------------
Jan
--
professional: http://www.oscar-consult.de
private: http://neslonek.homeunix.org/drupal/
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]