Do you know what may have removed that file?  If you have gentoolkit installed then you 
can do "equery check glibc" to see if any other files are missing.

Zac

W.Kenworthy wrote:
nsswitch.conf has a number of other entries in it which if missing may
give rise to similar weird problems like this.  You might like to
extract it from sys-libs/glibc (the owner on my system) and replace it
with the full file.

BillK


On Sun, 2005-07-24 at 23:59 -0400, Russell Slater wrote:

Thanks Nick! strace showed that /etc/hosts was not being opened, but
it showed that nsswitch.conf was being opened but did not exist, so I
created a nsswitch.conf file with the following line:

hosts:   files dns

Now everything works.

Thank you,

    Russ
--
gentoo-user@gentoo.org mailing list

Reply via email to