From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MxM6J-0002mp-Uc for garchives@archives.gentoo.org; Mon, 12 Oct 2009 14:42:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F87FE0777; Mon, 12 Oct 2009 14:42:14 +0000 (UTC) Received: from mx1.xen.linuxant.fr (mx1.linuxant.fr [87.98.143.218]) by pigeon.gentoo.org (Postfix) with ESMTP id D98CEE0777 for ; Mon, 12 Oct 2009 14:42:13 +0000 (UTC) Received: from [192.168.1.103] (93-136-121-111.adsl.net.t-com.hr [93.136.121.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: xavier) by mx1.linuxant.fr (Postfix) with ESMTPSA id 05FAC29ECE for ; Mon, 12 Oct 2009 16:42:07 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mx1.linuxant.fr 05FAC29ECE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gentooist.com; s=DKIM; t=1255358529; bh=A9dpCKd0c60ODKea7D2s9Ild6ekYwJJVZarCgH0v+sM=; l=1459; h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject:References: In-Reply-To:Content-Type; b=ltngNyQKCT1s2lIqsPYyS9+k90y1Bt+CYM9ZGh/4jCoZmGqlj59Z+W9SkCFb6851v oL5m74eSL1Rh20A/+6bG9Ej1avwv95v3ouBAyFhX/ieYWqpOaR57S6BpBBdc73dVEi Qn3qSN8Ad8YSQDrm5pt0nkFypQB8MTCges3yF/rE= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mx1.linuxant.fr 05FAC29ECE DomainKey-Signature: a=rsa-sha1; s=DomainKey; d=gentooist.com; c=nofws; q=dns; h=message-id:date:from:reply-to:user-agent:mime-version:to: subject:references:in-reply-to:x-enigmail-version:openpgp:content-type; b=hYToFPU/5Q3zkMXLUUv/QnMSCTBZWUA9MfDOdI9ICErawjrKjxaPLW4j7jU7+5aw0 H5ekkxbbceStR39O37I0s1o7R/B1DgzDw+IBricfY+wgP2jdRcc8SEMGAiJMPPFC3h7 P7l/DKOSjYPQBHZqb5sSJHQ7taiu+SNX/zah7pI= Message-ID: <4AD3401C.7080302@gentooist.com> Date: Mon, 12 Oct 2009 16:41:32 +0200 From: Xavier Parizet User-Agent: Thunderbird 2.0.0.23 (X11/20090901) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problem with gethostname() returning incorrect value References: In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=156991BF; url=http://www.gentooist.com/?attachment_id=5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig676610B33588E9A9A903547C" X-Archives-Salt: 8a1c8c56-d038-438c-8f49-9fa8d3c5c145 X-Archives-Hash: af78317f91675f6f0258b45377aaaf74 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig676610B33588E9A9A903547C Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Lie Ryan a =E9crit : > Hi, > > [SNIP] > > Extra information: >=20 > lieryan@lieryan ~/Desktop/pythontrunk/trunk $ /lib/libc.so.6 Here the output is clear : lieryan is your machine hostname as well as yo= ur username... So check your /etc/hosts and either edit the line containing 127.0.0.1 like this: 127.0.0.1 lieryan. lieryan localhost or set HOSTNAME variable in /etc/conf.d/hostname to localhost, put the er= ror returned by python seems to indicate that you forgot to edit /etc/hosts t= o put the definition of lieryan hostname ip address. HTH. > [SNIP] --=20 Xavier Parizet YaGB : http://gentooist.com GPG : C7DC B10E FC21 63BE B453 D239 F6E6 DF65 1569 91BF --------------enig676610B33588E9A9A903547C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrTQCEACgkQ9ubfZRVpkb9odACfWuk1qGUZCV05lWQTrcZj2VBG AdMAn1rhTa/erSt1nvj4mPTLusf+XCa+ =tchH -----END PGP SIGNATURE----- --------------enig676610B33588E9A9A903547C--