1 |
2009-10-04 20:32:17 Hanno Böck napisał(a): |
2 |
> I just stepped over a problem with the new python-wrapper. If I interpreted |
3 |
> the changelogs correctly, since eselect-python-20090801 /usr/bin/python is no |
4 |
> longer a symlink, but a wrapper. |
5 |
|
6 |
Since eselect-python-20090804 /usr/bin/python is a symlink to a wrapper. |
7 |
|
8 |
> I find this a questionable idea simply for the overhead it causes, but it |
9 |
> seems that this breaks all init-scripts using start-stop-daemon for python |
10 |
> scripts. |
11 |
> |
12 |
> Example: |
13 |
> http://bugs.gentoo.org/show_bug.cgi?id=286191 |
14 |
> |
15 |
> (same issue happens with some self-written python daemons we're using on our |
16 |
> servers) |
17 |
> |
18 |
> I don't know what the reasons were for the change from symlinks to a wrapper |
19 |
|
20 |
Ebuilds (usually through python.eclass) need to be able to set requested version |
21 |
of Python without changing /usr/bin/python symlink. This is performed by setting |
22 |
EPYTHON environment variable ("E" in the name of this variable is related to words |
23 |
"ebuild" and "eclass"). If this variable isn't set, then Python wrapper uses |
24 |
version of Python configured using `eselect python`. Otherwise it uses version of |
25 |
Python referenced by this variable. |
26 |
|
27 |
-- |
28 |
Arfrever Frehtes Taifersar Arahesis |