Red Hat Bugzilla – Bug 56322
ypbind has problems with bad server hostname
Last modified: 2007-04-18 12:38:18 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10smp i686)
Description of problem:
ypbind will lock if /etc/yp.conf contains an unresolvable server hostname
somewhere other than the last line of the file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
put a bogus server hostname in /etc/yp.conf
This patch will fix the problem:
--- ypbind-mt-1.8/src/serv_list.c Mon Aug 13 15:07:22 2001
ypbind-mt-1.8/src/serv_list.c Mon Aug 13 15:07:24 2001
@@ -456,6 456,7 @@
log_msg (LOG_ERR, _("gethostbyname: Unknown error"));
if (hent->h_addr_list == NULL)
Parts of the patch seems to be missing.
Created attachment 49026 [details]
original patch as attachment
*** Bug 55229 has been marked as a duplicate of this bug. ***
fixed in ypbind-1.10-4.
Created attachment 49504 [details]
I sent the attached patch to thorsten.