From owner-freebsd-stable@FreeBSD.ORG Wed Sep 22 13:52:30 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F9D61065673; Wed, 22 Sep 2010 13:52:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB7D8FC1F; Wed, 22 Sep 2010 13:52:30 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id ADD7D46B52; Wed, 22 Sep 2010 09:52:29 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id B81018A051; Wed, 22 Sep 2010 09:52:28 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 22 Sep 2010 09:50:32 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <4C98F433.6070506@FreeBSD.org> <20100921193101.GA95238@night.db.net> <20100922095724.C31898@maildrop.int.zabbadoz.net> In-Reply-To: <20100922095724.C31898@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009220950.32294.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 22 Sep 2010 09:52:28 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: "Bjoern A. Zeeb" , Diane Bruce , Doug Barton , Mark Kamichoff Subject: Re: BIND9 built w/--disable-ipv6 on 8.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 13:52:30 -0000 On Wednesday, September 22, 2010 6:02:08 am Bjoern A. Zeeb wrote: > On Tue, 21 Sep 2010, Diane Bruce wrote: > > >>> |> | why don't we want IPv6 enabled by default on new BIND installations? > >>> |> > >>> |> It has to do with whether or not IPv6 support is compiled into the > >>> |> FreeBSD base system which is compiling BIND. If the configure option > > ... > >>> If I'm still alive when IPv6 is the norm and IPv4 is the exception, I > >>> promise to give it another look. :) > > > > IPv6 is more prevalent than you think. I can't understand the illogic > > of turning it off. > > Can't we just do what lib/bind/config.mk already does? > > Index: usr.sbin/named/Makefile > =================================================================== > --- usr.sbin/named/Makefile (revision 211503) > +++ usr.sbin/named/Makefile (working copy) > @@ -9,7 +9,10 @@ SRCDIR= ${BIND_DIR}/bin/named > > PROG= named > > -CONFIGARGS='--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads' '--disable-ipv6' '--enable-getifaddrs' '-- disable-linux-caps' '--with-openssl=/usr' '--with-randomdev=/dev/random' > +CONFIGARGS='--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads' '--enable-getifaddrs' '--disable-linux-caps' '--with-openssl=/usr' '--with-randomdev=/dev/random' > +.if ${MK_INET6_SUPPORT} == "no" > +CONFIGARGS+='--disable-ipv6' > +.endif > > # Optional features > .if ${MK_BIND_LARGE_FILE} == "yes" > > and leave it to the user to build world without INET6 support if (s)he > build the kernel without it? Actually, I frequently build custom kernels w/o INET6, but don't necessarily disable INET6 for the world build. However, why can't BIND just be fixed to have sane behavior if the kernel doesn't support INET6? Other applications like sendmail don't need this sort of special treatment, they just don't use IPv6 if it isn't present. -- John Baldwin