2012-09-18
Something is not consistent here:
koos@ ...
Something is not consistent here:koos@greenblatt:~$ rpcinfo -p eth0-1.idefix.net rpcinfo: eth0-1.idefix.net is unknown host koos@greenblatt:~$ rpcinfo -p ip6-loopback program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapperThe difference is that ip6-localhost comes from the hosts file and eth0-1.idefix.net comes from dns. All IPv4 addresses work fine. Seen both in Ubuntu 8.04 and 10.04. And for added confusion:koos@greenblatt:~$ rpcinfo -p ::1 rpcinfo: ::1 is unknown hostRunning with strace reveals that rpcinfo -p ip6-loopback still does:connect(3, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("127.0.0.1")}, 16) = 0Looks like there is a special rule in rpcinfo for this case.