Description of problem: [root@tin ~]# ypcat -k hosts | grep "tin " tin 160.129.138.133 tin tin.structbio.vanderbilt.edu [root@tin ~]# /etc/init.d/nscd start Starting nscd: [ OK ] [root@tin ~]# ping tin ping: unknown host tin [root@tin ~]# /etc/init.d/nscd stop Stopping nscd: [ OK ] [root@tin ~]# ping tin PING tin (160.129.138.133) 56(84) bytes of data. 64 bytes from tin (160.129.138.133): icmp_seq=0 ttl=64 time=0.018 ms [root@tin ~]# grep hosts /etc/nsswitch.conf #hosts: db files ldap nis dns hosts: files nis dns Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. use nis and set hostname in nis hosts file to something like (3 letters): 160.129.138.133 tin tin.structbio.vanderbilt.edu 2. set nsswitch.conf as above, try to ping tin, try traceroute, try "hostname -s" 3. turn off nscd then try all of above Actual results: when nscd is on I always get unknown hostname. when nscd is off the command succeeds Expected results: The command should succeed whether or not nscd is on or off. Additional info:
my fault forgot /etc/init.d/nscd reload ..works again, can close notabug
Resolving bug as NOTABUG as requested by reporter.