Date: Mon, 24 Apr 2006 06:52:38 +0300 From: Alex Kozlov <spam@rm-rf.kiev.ua> To: Jeremy Chadwick <freebsd@jdc.parodius.com> Cc: freebsd-bugs@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/96242: rpcbind ignores NO_INET6=yes in make.conf Message-ID: <20060424035238.GA81132@ravenloft.kiev.ua> In-Reply-To: <20060424033656.GA37567@pentarou.parodius.com> References: <20060424012052.EC2EE5E33@mx1.parodius.com> <20060424031050.GA871@ravenloft.kiev.ua> <20060424033656.GA37567@pentarou.parodius.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060424035238.GA81132>