tag 470500 + patch
thanks

On Tue, Mar 11, 2008 at 04:59:36PM +0100, Axel Beckert wrote:
> Package: bind9
> Version: 1:9.4.2-6
> Severity: important
> 
> 1/0/0 r...@visa:pts/ttyp2 16:49:23 [~] # invoke-rc.d bind9 stop
> Stopping domain name service...: bind^C.
> 2/0/0 r...@visa:pts/ttyp2 16:50:42 [~] # 
> 
> It happened to me before, the previous upgrade of bind9 (probably
> 1:9.4.2-4 to 1:9.4.2-5) ran half a day until I noticed it, so it
> really seems to hang although I pressed Ctrl-C here after already a
> good minute. I always have to kill the named procesess with -KILL
> (slay -KILL bind seems to be sufficient).
> 
> I noticed it again when the upgrade procedure tries to shutdown bind9
> for the upgrade to 1:9.4.2-6, so it's no bug introcuded with
> 1:9.4.2-6, but it's still present, see above..
> 

Please find a simple patch below to fix the problem.

diff -u bind9-9.6.1.dfsg.P3/configure.in bind9-9.6.1.dfsg.P3/configure.in
--- bind9-9.6.1.dfsg.P3/configure.in
+++ bind9-9.6.1.dfsg.P3/configure.in
@@ -1024,7 +1024,7 @@
                # LinuxThreads requires some changes to the way we
                # deal with signals.
                #
-               *-linux*)
+               *-linux* | *-kfreebsd*-gnu)
                        AC_DEFINE(HAVE_LINUXTHREADS)
                        ;;
                #
diff -u bind9-9.6.1.dfsg.P3/configure bind9-9.6.1.dfsg.P3/configure
--- bind9-9.6.1.dfsg.P3/configure
+++ bind9-9.6.1.dfsg.P3/configure
@@ -13532,7 +13532,7 @@
                # LinuxThreads requires some changes to the way we
                # deal with signals.
                #
-               *-linux*)
+               *-linux* | *-kfreebsd*-gnu)
                        $as_echo "#define HAVE_LINUXTHREADS 1" >>confdefs.h
 
                        ;;
 
-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to