mc gets into a loop if it can't resolve its own hostname

Jasper Boschman jasper at support.eweka.nl
Sun Sep 5 12:32:30 UTC 2004


Hi,

I just installed mc on a fresh FreeBSD 5.2.1 install.
After i installed mc, it freezed. After i did a  until i edit my 
/etc/hosts file, or fixed my dns.


According to truss (a util like strace), this is the loop:

--
kevent(0x3,0xbfbfd7f0,0x1,0xbfbfd7f0,0x1,0xbfbfd7d8) = 0 (0x0)
close(4)                                         = 0 (0x0)
socket(0x2,0x2,0x0)                              = 4 (0x4)
sendto(0x4,0xbfbfda70,0,0x0,{ AF_INET 81.171.102.75:53 },0x10) = 30 (0x1e)
gettimeofday(0xbfbfd7d0,0x0)                     = 0 (0x0)
--
81.171.102.75 is a nameserver.

Here's my mc --version output:

GNU Midnight Commander 4.6.0
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, smbfs
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm
With internationalization support
With multiple codepages support

--
Best regards,

Jasper Boschman



More information about the mc-devel mailing list