Bug#676286: Looks like a host misconfiguration issue

Kurt Landenberger klandenb at intel.com
Tue Jun 5 22:44:42 UTC 2012


I went ahead and added some alert() messages to the PAC file and it
appears the problem is on my end.  In my /etc/hosts, I had

127.0.0.1	myhostname	localhost	localhost.localdomain

which was causing the myIpAddress() function in the PAC script to return
the loopback address.  My system IP address is assigned via DHCP, and my
hostname resolvable through DNS.  Changing the above to

127.0.0.1	localhost	localhost.localdomain
127.0.1.1	myhostname	myhostname.localdomain

resolves the issue.





More information about the pkg-mozilla-maintainers mailing list