[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RPM is misbehaving again.



On Tue, Oct 30, 2001, Oded Arbel wrote about "Re: RPM is misbehaving again.":
> Ok list, in a stroke of genius (ahmm.. :-) I renamed nsswitch.conf. now
> rpm is working properly. how come ? I don't want to have to remove
> nsswitch everytime I play with RPMs !
> :-(

This is just a wild guess, but...
Could it be that something is wrong with your /lib/libnss* shared libraries?
Perhaps you upgraded you libc and forgot to update those? Perhaps one of those
files got corrupted (test that with "rpm -V glibc" on a Redhat system, for
example).

nsswitch controls which of these shared libraries gets used on gethosbyname(3)
calls - GNU's libc loads (via dlopen(3)) the appropriate shared libraries
at runtime when it needs to query DNS servers, read /etc/hosts files, and
so on - depending on the methods (and order) defined in /etc/nsswitch.conf.
If your /etc/nsswitch.conf is missing, gethostbyname(3) will not be able to
convert any name, and will not load any name-service shared library.

-- 
Nadav Har'El                        |    Tuesday, Oct 30 2001, 13 Heshvan 5762
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Always go to other people's funerals,
http://nadav.harel.org.il           |otherwise they won't come to yours.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il