From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 24 04:00:47 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9C8F16A403 for ; Mon, 24 Apr 2006 04:00:47 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56AB643D45 for ; Mon, 24 Apr 2006 04:00:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3O40idB003898 for ; Mon, 24 Apr 2006 04:00:44 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3O40iTJ003879; Mon, 24 Apr 2006 04:00:44 GMT (envelope-from gnats) Date: Mon, 24 Apr 2006 04:00:44 GMT Message-Id: <200604240400.k3O40iTJ003879@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alex Kozlov Cc: 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 Reply-To: Alex Kozlov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 04:00:47 -0000 The following reply was made to PR kern/96242; it has been noted by GNATS. From: Alex Kozlov To: Jeremy Chadwick Cc: bug-followup@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: kern/96242: rpcbind ignores NO_INET6=yes in make.conf Date: Mon, 24 Apr 2006 06:52:38 +0300 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