List Info

Thread: BIND problems after upgrade




BIND problems after upgrade
country flaguser name
Poland
2007-03-09 16:10:38
Hello list.
    Today I updated BIND on one of my servers. The reason
for this 
operation was NetBSD-SA2007-003. This machine is running
NetBSD 3.0.2. 
My source tree (netbsd-3-0) is updated every night. So I
installed new 
BIND using standard procedure:

cd /usr/src/usr.sbin/bind
make USETOOLS=no cleandir dependall
make USETOOLS=no install

    After this update it won't start anymore.

Mar  9 22:48:55 strim named[12279]: 
/usr/src/dist/bind/lib/dns/rbt.c:1581: INSIST(child != (void
*)0) failed
Mar  9 22:48:55 strim named[12279]: exiting (due to
assertion failure)

    This is very unfortunate for me, since this machine is
my primary 
DNS server. Any ideas, how to solve this problem?
Downgrading BIND is an 
option... but I don't like the idea of running DNS server
with publicly 
known security problem.

Thanks in advance

-- 
Radosław Kujawa 
Altkom Akademia S.A.



Re: BIND problems after upgrade
country flaguser name
Poland
2007-03-10 13:34:10
Christos Zoulas wrote:
> Can you try to disable the thread code?
>   
In a private mail, one nice person sent me following patch:

--- rbt.c-orig  2006-07-13 15:02:18.000000000 -0700
+++ rbt.c       2007-03-06 22:06:16.000000000 -0800
 -166,6
+166,10 
 static void dns_rbt_printnodename(dns_rbtnode_t *node);
 #endif
 
+#if !defined(inline) && defined(__powerpc__)
+#define        inline  /**/
+#endif
+
 static inline dns_rbtnode_t *
 find_up(dns_rbtnode_t *node) {
        dns_rbtnode_t *root;


This patch comes from pkgsrc/net/bind9/patches/ . It fixed
my named, now 
it works like a charm. I can build non-threaded version of
BIND and 
check what's going to happen, if it will help.

Radek

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )