You are not logged in.

#1 2004-05-10 06:13:49

jak
Member
From: Charlotte, NC, USA
Registered: 2004-04-08
Posts: 84

named process count

I noticed SuSE 9.0 starts up 5 named processes, but arch only starts one. So I looked to see why, and I found that SuSE builds named with threads enabled, and without enable-shared. I changed my arch build to be like SuSE, and now arch also starts up 5 named processes. I think that's a good thing, but I'm not really sure. Anyway, here's the patch:

diff -urN local/daemons/bind/PKGBUILD temp/daemons/bind/PKGBUILD
--- local/daemons/bind/PKGBUILD    2004-03-20 04:29:36.000000000 -0500
+++ temp/daemons/bind/PKGBUILD    2004-05-10 01:32:47.259338266 -0400
@@ -16,8 +16,8 @@
 build() {
   cd $startdir/src/$pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc 
-    --localstatedir=/var --with-libtool --enable-shared 
-    --disable-threads --with-openssl=yes
+    --localstatedir=/var --with-libtool 
+    --enable-threads --with-openssl=yes --enable-libbind
   make || return 1
   make DESTDIR=$startdir/pkg install
   install -D -m755 ../named $startdir/pkg/etc/rc.d/named

Also enabled libbind while I was at it.

smile


The sturgeon general says don't smoke fish

Offline

Board footer

Powered by FluxBB