On Sat, Oct 27, 2012 at 6:46 AM, Gerardo Exequiel Pozzi
<[email protected]> 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

Reply via email to