Bug 4476 - No hostnames possible in /etc/yp.conf
No hostnames possible in /etc/yp.conf
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: ypbind (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-08-11 13:51 EDT by Jos Vos
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-28 01:42:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jos Vos 1999-08-11 13:51:01 EDT
An entry like "ypserver myhost.my.domain" in /etc/yp.conf,
where the used hostname is listed in /etc/hosts (and
actually is the name of local host, because I tested it on a
slave server) does not work, while replacing the hostname
with its IP address works fine.

The comment lines in /etc/yp.conf suggest something else and
on a very old system (RHL 3.0.3) this also worked fine.
Comment 1 Jeff Johnson 1999-08-11 15:09:59 EDT
Check /etc/nsswitch.conf and make sure you have something like
     hosts:      files dns nisplus nis
Comment 2 Jos Vos 1999-08-11 15:28:59 EDT
Checked, /etc/nsswitch.conf is unchanged, so it says:
	hosts:      files nisplus nis dns
Comment 3 Preston Brown 1999-08-28 01:42:59 EDT
hmm, can't seem to duplicate this here.  Sounds like a DNS issue
though, not a ypbind issue -- I am using hostnames not IP addresses in
/etc/yp.conf just fine.

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