[PlanetCCRMA] jack-dssi-host
Samuel Sieb
samuel at sieb.net
Wed Dec 8 17:36:39 PST 2010
S C Rigler wrote:
> So we all agree that the hostname doesn't need to resolve to the
> loopback interface but this is not caused by a newbie mistake.
> NetworkManager inflicts this on us so that we have to work around it by
> *removing* the hostname from the ipv6 localhost line in /etc/hosts. The
> frustrating part is that NetworkManager keeps putting it back so that we
> have to remember to edit the hosts file every time the machine is
> booted, woken up from suspend, or does anything else causes an IP
> address to renew.
> Since you are suggesting that our systems are in some way incorrectly
> configured to do this I'm open to suggestions that might fix it.
> --Steve
>
I'm curious why having an IPV6 address is messing things up. Is the app
looking up the IPV6 address from the hostname? Even that shouldn't be a
problem.
At the top of my /etc/host file where "laptop" is my hostname:
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.0.2 laptop # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 laptop localhost6.localdomain6 localhost6
And "ping laptop" gives:
PING laptop (192.168.0.2) 56(84) bytes of data.
64 bytes from laptop (192.168.0.2): icmp_req=1 ttl=64 time=0.043 ms
64 bytes from laptop (192.168.0.2): icmp_req=2 ttl=64 time=0.074 ms
There is also "ping6 laptop":
PING laptop(laptop) 56 data bytes
64 bytes from laptop: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from laptop: icmp_seq=2 ttl=64 time=0.086 ms
There is nothing there that should break any application unless it's
doing something strange or wrong.
More information about the PlanetCCRMA
mailing list