Bug#572990: freeciv: Client can't connect to its own server (Can't Start local game)

Ulrik Sverdrup ulrik.sverdrup at gmail.com
Wed Mar 10 04:02:12 UTC 2010


2010/3/9 Karl Goetz <karl at kgoetz.id.au>:
> On Mon, 08 Mar 2010 04:02:26 +0100
> Ulrik Sverdrup <ulrik.sverdrup at gmail.com> wrote:
>
>> Package: freeciv
>> Version: 2.2.0-1
>> Severity: normal
>>
>> hostname is 'ulrik-ibook'.
>>
>> $ cat /etc/hostname
>> ulrik-ibook
>>
>> $ host ulrik-ibook
>> Host ulrik-ibook not found: 3(NXDOMAIN)
>>
>>
>> Apart from this, freeciv 2.2 seems really solid, great game.
>
> If you change your network configuration so your hostname is valid,
> does the game start correctly?
> kk

Hi, thanks for following up the bug report!

I don't know what a valid hostname is and what is not a valid
hostname, but I tried to edit my /etc/hosts back and forth without any
result. I did not try changing my hostname (I think most normal
hostnames do in fact *not* resolve on  desktop computer).

I reported the bug upstream too myself (notoriously impatient as I
am), but I initially reported it to debian since I suspected it was
either related to bad configuration of my debian system, or a
debian-specific problem.

Anyway, here is the response from upstream bug  http://gna.org/bugs/?15559 ::

---

You are probably another victim of a recent change in Debian squeeze
which sets net.ipv6.bindv6only = 1 in
/etc/sysctl.d/bindv6only.conf
See e.g. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044

As a result the server listens on ::1 (IPv6 only), and the client
fails to connect to localhost (IPv4).

But eventually freeciv should change the way it opens the listening
socket(s) so that it works in both configurations.

---

HTH and Regards,
ulrik





More information about the Pkg-games-devel mailing list