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 1MuWK1-00075i-Ny for garchives@archives.gentoo.org; Sun, 04 Oct 2009 19:00:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AEC1E098F; Sun, 4 Oct 2009 19:00:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F3470E098F for ; Sun, 4 Oct 2009 19:00:39 +0000 (UTC) Received: from afta-gentoo.localnet (ip-85-198-235-97.broker.com.pl [85.198.235.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 5AC6B678ED for ; Sun, 4 Oct 2009 19:00:39 +0000 (UTC) From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Development Subject: Re: [gentoo-dev] python-wrapper breaks init scripts Date: Sun, 4 Oct 2009 21:02:48 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.31-tuxonice-AFTA; KDE/4.3.1; x86_64; ; ) References: <200910042032.17789.hanno@gentoo.org> In-Reply-To: <200910042032.17789.hanno@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart18186403.YiKbzamHr0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200910042102.55750.Arfrever@gentoo.org> X-Archives-Salt: 1da3698e-a917-4dac-9a04-cf516eda01f7 X-Archives-Hash: d66888b7a50896f94fdeda8c53be023f --nextPart18186403.YiKbzamHr0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 2009-10-04 20:32:17 Hanno B=C3=B6ck napisa=C5=82(a): > I just stepped over a problem with the new python-wrapper. If I interpret= ed=20 > the changelogs correctly, since eselect-python-20090801 /usr/bin/python i= s no=20 > longer a symlink, but a wrapper. Since eselect-python-20090804 /usr/bin/python is a symlink to a wrapper. =20 > I find this a questionable idea simply for the overhead it causes, but it= =20 > seems that this breaks all init-scripts using start-stop-daemon for pytho= n=20 > scripts. >=20 > Example: > http://bugs.gentoo.org/show_bug.cgi?id=3D286191 >=20 > (same issue happens with some self-written python daemons we're using on = our=20 > servers) >=20 > I don't know what the reasons were for the change from symlinks to a wrap= per Ebuilds (usually through python.eclass) need to be able to set requested ve= rsion of Python without changing /usr/bin/python symlink. This is performed by se= tting EPYTHON environment variable ("E" in the name of this variable is related t= o words "ebuild" and "eclass"). If this variable isn't set, then Python wrapper uses version of Python configured using `eselect python`. Otherwise it uses vers= ion of Python referenced by this variable. =2D-=20 Arfrever Frehtes Taifersar Arahesis --nextPart18186403.YiKbzamHr0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) iEYEABECAAYFAkrI8V8ACgkQIEGVSeBq/j4DTwCfdWyMNfgfj5Lj+Tqc/XvWUV/S 3UgAnj25qFJMYyC1uuQiCjVBbu1DXdZD =JApq -----END PGP SIGNATURE----- --nextPart18186403.YiKbzamHr0--