public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Arfrever Frehtes Taifersar Arahesis <Arfrever@gentoo.org>
To: Gentoo Development <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] python-wrapper breaks init scripts
Date: Sun, 4 Oct 2009 21:02:48 +0200	[thread overview]
Message-ID: <200910042102.55750.Arfrever@gentoo.org> (raw)
In-Reply-To: <200910042032.17789.hanno@gentoo.org>

[-- Attachment #1: Type: Text/Plain, Size: 1230 bytes --]

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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-10-04 19:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-04 18:32 [gentoo-dev] python-wrapper breaks init scripts Hanno Böck
2009-10-04 19:02 ` Arfrever Frehtes Taifersar Arahesis [this message]
2009-10-05  7:46   ` Michael Haubenwallner
2009-10-05 20:32     ` [gentoo-dev] " Jonathan Callen
2009-10-05 20:40       ` Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200910042102.55750.Arfrever@gentoo.org \
    --to=arfrever@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox