From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 24 03:53:01 2006 Return-Path: X-Original-To: freebsd-bugs@freebsd.org Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D02316A405; Mon, 24 Apr 2006 03:53:01 +0000 (UTC) (envelope-from stalker@ravenloft.kiev.ua) Received: from istc.kiev.ua (wolf.istc.kiev.ua [193.108.236.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B40543D53; Mon, 24 Apr 2006 03:53:00 +0000 (GMT) (envelope-from stalker@ravenloft.kiev.ua) Received: from localhost ([127.0.0.1] helo=ravenloft.kiev.ua) by istc.kiev.ua with esmtp (Exim 4.52) id 1FXs8B-0001sx-7F; Mon, 24 Apr 2006 06:52:59 +0300 Received: from stalker by ravenloft.kiev.ua with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FXs7q-000LMB-Fe; Mon, 24 Apr 2006 06:52:38 +0300 Date: Mon, 24 Apr 2006 06:52:38 +0300 From: Alex Kozlov To: Jeremy Chadwick Message-ID: <20060424035238.GA81132@ravenloft.kiev.ua> References: <20060424012052.EC2EE5E33@mx1.parodius.com> <20060424031050.GA871@ravenloft.kiev.ua> <20060424033656.GA37567@pentarou.parodius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060424033656.GA37567@pentarou.parodius.com> Sender: Vlad Gnatov X-Spam-Score: 0.0 (/) X-Spam-Report: Content analysis detailz: (0.0 points, 10.0 required) Cc: freebsd-bugs@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/96242: rpcbind ignores NO_INET6=yes in make.conf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 03:53:01 -0000 On Sun, Apr 23, 2006 at 08:36:56PM -0700, Jeremy Chadwick wrote: > On Mon, Apr 24, 2006 at 06:10:50AM +0300, Alex Kozlov wrote: > > It harmless. > > But if you wish, you can comment udp6/tcp6 lines in /etc/netconfig > > Hey, thanks for this! That totally fixed the problem. Surprisingly, > until now, I'd never heard of that file... Plain, old TI-RPC ') > > Again, thanks! This is quick and dirty fix. In more propper way you may want apply this patch: --- rpcbind.c Sun Nov 7 06:32:51 2004 +++ rpcbind.c.new Mon Apr 24 06:42:19 2006 @@ -173,7 +173,12 @@ init_transport(nconf); while ((nconf = getnetconfig(nc_handle))) { +#ifdef INET6 if (nconf->nc_flag & NC_VISIBLE) +#else + if (nconf->nc_flag & NC_VISIBLE && + nconf->nc_protofmly !=NC_INET6 ) +#endif init_transport(nconf); } endnetconfig(nc_handle); -- Adios