[arch-dev-public] Adding nss-myhostname to the base group

Jan Steffens jan.steffens at gmail.com
Sat Oct 27 01:50:03 EDT 2012


On Sat, Oct 27, 2012 at 6:46 AM, Gerardo Exequiel Pozzi
<vmlinuz386 at yahoo.com.ar> wrote:
> This is nice while your configured internet connection works :)
>
> At least under my scenario (behind a router), DNS setup to my ISP, If
> internet connection goes down, all programs that tries to resolve local
> hostname will "sleep" in connect(2) [called by getaddrinfo(3)], until
> reaches timeout.
> I detected this while, while my internet conection fails, and I try to
> launch mc, it takes longer time, so adding back my hostname line to "hosts"
> workaround the issue.

I think this might be because the order in nsswitch.conf is wrong.
Please retest with this line:
hosts: files myhostname dns


More information about the arch-dev-public mailing list