Bug 521304 - Fix instances of #!/usr/bin/env python in python-imaging-devel
Fix instances of #!/usr/bin/env python in python-imaging-devel
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-imaging (Show other bugs)
All Linux
medium Severity medium
: rc
: ---
Assigned To: Roman Rakus
Release Test Team
: Reopened
Depends On:
Blocks: 502912 590060 521940
  Show dependency treegraph
Reported: 2009-09-04 13:01 EDT by Chris Williams
Modified: 2014-01-12 19:09 EST (History)
6 users (show)

See Also:
Fixed In Version: python-imaging-1.1.5-7.el5
Doc Type: Bug Fix
Doc Text:
The shebang lines in Python executables have been changed to "#!/usr/bin/python" to ensure the Python interpreter installed in the system is used.
Story Points: ---
Clone Of:
Last Closed: 2011-02-09 08:05:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Williams 2009-09-04 13:01:11 EDT
here's a project underway in Fedora 12 to finally resolve the issues
with Red Hat including #!/usr/bin/env python in our python executables:


There's also a Fedora bug opened on this, and comments in there state
that this is a big priority for RHEL6:


For RHEL5, we've been instructed by Product Management to open bugs on
a package-by-package basis to address the problem.

In this case, python-imaging-devel in RHEL5 has at least one instance of a
python script containing #!/usr/bin/env python
Comment 2 RHEL Product and Program Management 2009-09-23 08:01:32 EDT
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.
Comment 9 Roman Rakus 2011-02-07 09:39:57 EST
Fixed in python-imaging-1.1.5-7.el5
Comment 11 Jaromir Hradilek 2011-02-07 10:38:32 EST
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    New Contents:
The shebang lines in Python executables have been changed to "#!/usr/bin/python" to ensure the Python interpreter installed in the system is used.
Comment 12 Alexander Todorov 2011-02-08 03:07:02 EST
The only files containing "/usr/bin/env python" that I found are from the python-imaging-devel package:

# rpm -ql  python-imaging-devel | xargs grep "/usr/bin/env"
/usr/share/doc/python-imaging-devel-1.1.5/Sane/demo_numarray.py:#!/usr/bin/env python
/usr/share/doc/python-imaging-devel-1.1.5/Sane/demo_pil.py:#!/usr/bin/env python
/usr/share/doc/python-imaging-devel-1.1.5/Scripts/pildriver.py:#!/usr/bin/env python

With python-imaging-devel-1.1.5-7.el5:
# rpm -ql  python-imaging-devel | xargs grep "/usr/bin/env" 

Moving to VERIFIED.
Comment 13 errata-xmlrpc 2011-02-09 08:05:48 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.