Xavier Parizet wrote:
> Lie Ryan a écrit :
>> Hi,
>>
>> [SNIP]
>>
>> Extra information:
>>
>> lier...@lieryan ~/Desktop/pythontrunk/trunk $ /lib/libc.so.6
> 
> Here the output is clear : lieryan is your machine hostname as well as your
> username... So check your /etc/hosts and either edit the line containing
> 127.0.0.1 like this:
> 127.0.0.1 lieryan.<your dns domain name> lieryan localhost
> or set HOSTNAME variable in /etc/conf.d/hostname to localhost, put the error
> returned by python seems to indicate that you forgot to edit /etc/hosts to put
> the definition of lieryan hostname ip address.
> 

Thanks, redirecting 'lieryan' to 127.0.0.1 solves the problem.

Though I'd have preferred not to have my username redirects to the local
machine, changing HOSTNAME in /etc/conf.d/hostname seems to result in
some unwanted side effects[1] to X. I can live with the redirection
though, so problem solved for now.

[1] for some reason, after setting HOSTNAME to localhost I can't start
new GUI program/create new window after NetworkManager/nm-applet is
running. I suspect there is some NetworkManager settings lying around
somewhere that resets the name to lieryan and the change confused X.


Reply via email to