0.9.5 release plans
Danek Duvall
danek.duvall at sun.com
Wed Oct 17 15:55:19 CDT 2007
On Wed, Oct 17, 2007 at 04:21:58PM +0300, Giorgos Keramidas wrote:
> > -abort: error: Connection refused
> > +abort: error: Network is unreachable
>
> I think that's a difference between errno values returned by Solaris vs.
> Linux vs. BSD. The same test `error' has been happening with Hg tests
> on Solaris 10 for ages here.
No, they're different errors. It's almost certainly that your IPv6 setup
is incomplete. If you attempt to make a connection to "localhost", it'll
first try the IPv4 address, 127.0.0.1, and get a connection refused error
because nothing's listening on the port, so it falls back to the IPv6
loopback address, ::1, and get the network unreachable, and errors out with
that.
If you have IPv6 fully set up, then you should get "Connection refused" on
both, and you won't see this diff. I just did this on my laptop manually
by running
route add -inet6 ::1 ::1
ifconfig lo0 inet6 up
but that's cause I noticed there wasn't a route for ::1, and that lo0 for
IPv6 wasn't up. YMMV.
Alternatively, you should be able to disable ::1 by removing that line from
/etc/hosts.
> I don't know what is a good/portable way to fix this without trimming
> useful information out of the error.
Yeah, I don't know what the right answer here is. My guess is it's a
busted system setup, and to require the end-user to get that right, even
though such bustage is very common, and it's not clear what's actually
going on.
Danek
More information about the Mercurial
mailing list