27 Oct
2012
27 Oct
'12
12:50 a.m.
On Sat, Oct 27, 2012 at 6:46 AM, Gerardo Exequiel Pozzi <vmlinuz386@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