Bug 8414 - ypbind does not rebind after ypserv fails
Summary: ypbind does not rebind after ypserv fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ypbind
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-12 20:25 UTC by dbelliz
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-01-24 23:26:10 UTC
Embargoed:


Attachments (Terms of Use)

Description dbelliz 2000-01-12 20:25:33 UTC
On a network with a NIS master and several slave servers. If a linux
client is bound to a NIS server and "ypserv" dies on that server, the
linux client does not disconnect and try to find another NIS server.
Eventhough there are several servers listed in our /etc/yp.conf.
Eventually, one would have to restart "ypbind" : "/etc/rc.d/init.d/ypbind
restart" to get things back to normal.

If this happens on Solaris, the client rebinds to another server specified
in the ypservers.

Comment 1 Cristian Gafton 2000-01-24 23:26:59 UTC
to achieve this behavior one needs to have a line like
domain NISDOMAIN broadcast
in the /etc/yp.conf. The timeout values are a bit high, at 30 seconds.

In the next release ypbind will do this type of broadcasting by default (unless
turned off by the site admin) and the ping/timeout time will be reduced from 30
sec to 10 sec.

Fixed in the current devel tree (and will show up on rawhide at the end of this
week).

Comment 2 tek 2000-07-17 17:22:26 UTC
This is definitely NOT what I would want it to do though!  I don't want it to 
broadcast, I want it to go the next server I specified.  As it stands now, it 
does the broadcast then lands on any old YP server it can find instead of the 
ones I specified in yp.conf.

-Thom


Note You need to log in before you can comment on or make changes to this bug.