Subject: Re: ypserv(8) stops working on 4.99.25 kernel
To: None <david@l8s.co.uk>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 08/28/2007 23:30:09
david@l8s.co.uk wrote:

> 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

Yes, now ypserv(8) works fine with new rpcbind(8) on today's
-current kernel. Thanks!

> I'll request a pullup for netbsd 4 so that it's userspace will run
> with a current kernel.

FYI, an other ypbind(8) client with old rpcbind(8) on today's kernel
still works against the above yp server running new rpcbind(8), so
the problem may be on a new kernel + old rpcbind(8) + ypserv(8).
---
Izumi Tsutsui