Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Gentoo Development <gentoo-dev@g.o>
From: Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
Subject: Re: python-wrapper breaks init scripts
Date: Sun, 4 Oct 2009 21:02:48 +0200
2009-10-04 20:32:17 Hanno Böck napisał(a):
> I just stepped over a problem with the new python-wrapper. If I interpreted 
> the changelogs correctly, since eselect-python-20090801 /usr/bin/python is no 
> longer a symlink, but a wrapper.

Since eselect-python-20090804 /usr/bin/python is a symlink to a wrapper.
 
> I find this a questionable idea simply for the overhead it causes, but it 
> seems that this breaks all init-scripts using start-stop-daemon for python 
> scripts.
> 
> Example:
> http://bugs.gentoo.org/show_bug.cgi?id=286191
> 
> (same issue happens with some self-written python daemons we're using on our 
> servers)
> 
> I don't know what the reasons were for the change from symlinks to a wrapper

Ebuilds (usually through python.eclass) need to be able to set requested version
of Python without changing /usr/bin/python symlink. This is performed by setting
EPYTHON environment variable ("E" in the name of this variable is related to words
"ebuild" and "eclass"). If this variable isn't set, then Python wrapper uses
version of Python configured using `eselect python`. Otherwise it uses version of
Python referenced by this variable.

-- 
Arfrever Frehtes Taifersar Arahesis
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: python-wrapper breaks init scripts
-- Michael Haubenwallner
References:
python-wrapper breaks init scripts
-- Hanno Böck
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
python-wrapper breaks init scripts
Next by thread:
Re: python-wrapper breaks init scripts
Previous by date:
Updated handbooks for autobuilds
Next by date:
Re: Updated handbooks for autobuilds


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.