[comp.sys.sun] ypbind hangs in rc.local

davis@groucho.ucar.edu (Glenn P. Davis) (04/22/89)

We had a little problem, which we have been unable to explain, but we have
been able to fix.

Environment:
	Single yp domain consisting of:
	1 4.0.1 server, 2 dataless clients, one diskless client.
	1 standalone 3.5 machine. The standalone and the server
	both are ypservers, all machines are yp clients.
	We share a class B net (128.117.xxx.xxx) with many other
	machines. We are not subnetting, eg, use default netmask.

During multiuser startup (execution of rc.local) of any of the 4.0.1
machines the starting of ypbind would hang:

	Starting rpc and net services: portmap ypbind

(time passes...)
		Cannot register service: RPC: Timed out.
		ypbind: can't register tcp service.

(rest of boot messages)

And, after sometime later (just after boot completes).

	ypbind: going down on signal 6

And later

	mountd[96]: can't register MOUNTPROG
	cannot register service: RPC: Timed out.

This was fixed by moving the ifconfig lines like
	ifconfig ie0 netmask +
AHEAD of ypbind in rc.local.

Can anyone explain this?

Glenn P. Davis			davis@unidata.ucar.edu
UCAR / Unidata
PO Box 3000                   1685 38th St.
Boulder, CO 80307-3000        Boulder, CO  80301

(303) 497 8643