NIXOS-41: create /etc/hosts + /etc/nsswitch.conf
We need a mapping for “localhost”, otherwise (for instance) X apps fail:
_X11TransSocketINETConnect() can’t get address for localhost:6010: Name or service not known
/etc/hosts is not enough, a /etc/nsswitch.conf with the following line is needed:
hosts: files dns
(This was never a problem in the cs.uu.nl domain because there is a localhost.cs.uu.nl in DNS.)
Submitted on 23 November 2006 at 23:12
Log in to post comments