On 02/27/2015 04:16 PM, Dave Burns wrote:> On Fri, Feb 27, 2015 at 12:41 PM, Stephen Harris <lists at
spuddy.org> wrote:
>>
>> "do_ypcall" is a NIS error message. (Previous NIS was called
"yellow
>> pages"; the "yp" in do_ypcall is a reference to that).
>>
>> Maybe you have "hosts: files nis" in /etc/nsswitch.conf or
something
>> else that's causing the OS to want to talk to NIS.
>>
>
> grep hosts /etc/nsswitch.conf
> hosts: files nis dns myhostname
>
> Maybe I should change to
> hosts: files dns nis myhostname
> ?
>
>
>>
>> You _DO_ have a problem with your NIS setup somewhere.
>>
>
> It is a problem if yum expects it to be something else. NIS passes all the
> tests I have ("ypcat <various>" outputs what I expect).
> thanks,
Yum is blissfully unaware of how the hostname is resolved. It just uses
a system call and expects to get an answer within a reasonable time.
The message "do_ypcall: clnt_call: RPC: Timed out" is coming from
ypbind
and indicates that NIS is not working as it should.
Swapping the order of dns and nis in nsswitch.conf will probably get you
going for this particular case, provided that dns is working. But
the NIS problem is going to bite you sooner or later if you don't sort
it out.
-Thomas