Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 11917

Summary: authconfig doesn't allow specification of multiple NIS servers
Product: [Retired] Red Hat Linux Reporter: Michael S. Fischer <michael>
Component: authconfigAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-05 22:44:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael S. Fischer 2000-06-05 22:44:12 UTC
In its current incarnation, authconfig does not allow one to specify that
the server should explicitly bind to more than one server.  Only a single
server, or broadcast, is allowed.  This can cause problems like cron
sporadically spitting out error messages like

yp_all: clnt_call: RPC: Unable to receive; errno = Connection reset by peer

Which, according to Miquel van Smoorenburg at
<http://x59.deja.com/getdoc.xp?AN=606419756&CONTEXT=960243430.682622982&hitnum=3>,
is spit out to stderr by glibc during a NIS server switch.  In the article
referenced he mentions that explicitly setting the server names instead of
using broadcast should help reduce the problem.

However, I can't get authconfig to do it for me by having multiple
--nisserver command-line options.  I really would like this feature because
otherwise I'll have to tweak /etc/yp.conf manually during the
post-kickstart phase.

Comment 1 Nalin Dahyabhai 2000-06-10 21:05:31 UTC
This is now fixed in the version of authconfig in our build tree.  To simplify
the code that parses command-line options, you can list multiple NIS servers if
you separate them with commas (i.e., "--nisserver yp1.baz.com,yp2.baz.com").