Subject: Re: ypserv(8) stops working on 4.99.25 kernel
To: David Laight <david@l8s.co.uk>
From: Sarton O'Brien <bsd-xen@roguewrt.org>
List: current-users
Date: 08/28/2007 13:08:57
On Tue, 28 Aug 2007 06:08:17 am David Laight wrote:
> On Fri, Aug 17, 2007 at 08:22:08AM +0000, Christos Zoulas wrote:
> > You should be able to reproduce the problem with a single machine.
> > You just need to run ypinit, ypserv and ypbind. The ypbind will never
> > bind. If you run ypbind with debug and you'll see what's going on.
>
> Actually you need to run 'rpcbind -d' - having compiled in all the printfs.
> Then you discover that the rpcbing code has always been broken!
>
> And since it depended on the value of an uninitialied local variable,
> some copies of the binary would work with a new kernel.
>
> Fixed in /cvsroot/src/usr.sbin/rpcbind/rpcb_svc_com.c rev 1.13
>
> I'll request a pullup for netbsd 4 so that it's userspace will run
> with a current kernel.

Does this mean yp/nis is fixed? Or should I wait a tad before reinstating (ie. 
you are still actively working on it)?

Thanks for your effort.

Sarton