Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 521891

Summary: Fix instances of #!/usr/bin/env python in pexpect
Product: Red Hat Enterprise Linux 5 Reporter: Issue Tracker <tao>
Component: pexpectAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: low Docs Contact:
Priority: low    
Version: 5.4CC: kbaxley, tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pexpect-2.3-2.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-15 07:21:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 521940    
Attachments:
Description Flags
Proposed patch none

Description Issue Tracker 2009-09-08 15:49:30 UTC
Escalated to Bugzilla from IssueTracker

Comment 1 Issue Tracker 2009-09-08 15:49:31 UTC
Event posted on 09-08-2009 11:47am EDT by kbaxley

There's a project underway in Fedora 12 to finally resolve the issues
with Red Hat including #!/usr/bin/env python in our python executables:

https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython

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

https://bugzilla.redhat.com/show_bug.cgi?id=518994

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, pexpecct in RHEL5 has at least one instance of a
python script containing #!/usr/bin/env python.  

/usr/lib/python2.4/site-packages/FSM.py in pexpect-2.3-1.el5
/usr/lib/python2.4/site-packages/GMenuSimpleEditor/main.py in gnome-menus-2.16.0-2.fc6
/usr/lib/python2.4/site-packages/GMenuSimpleEditor/maindialog.py in gnome-menus-2.16.0-2.fc6
/usr/lib/python2.4/site-packages/GMenuSimpleEditor/menutreemodel.py in gnome-menus-2.16.0-2.fc6
/usr/lib/python2.4/site-packages/GMenuSimpleEditor/config.py in gnome-menus-2.16.0-2.fc6
/usr/lib/python2.4/site-packages/GMenuSimpleEditor/menufilewriter.py in gnome-menus-2.16.0-2.fc6
/usr/lib/python2.4/site-packages/invest/chart.py in gnome-applets-2.16.0.1-19.el5

/usr/share/doc/pexpect-2.3/examples/hive.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/python.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/script.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/chess3.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/ssh_tunnel.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/topip.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/uptime.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/astat.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/ftp.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/monitor.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/fix_cvs_files.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/chess.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/bd_serv.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/sshls.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/rippy.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/df.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/passmass.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/bd_client.py in pexpect-2.3-1.el5
/usr/share/doc/pexpect-2.3/examples/chess2.py in pexpect-2.3-1.el5


This event sent from IssueTracker by kbaxley  [LLNL (HPC)]
 issue 339873

Comment 2 Marek Grac 2009-09-21 11:45:23 UTC
Created attachment 361914 [details]
Proposed patch

Comment 10 errata-xmlrpc 2009-10-15 07:21:40 UTC
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.

http://rhn.redhat.com/errata/RHBA-2009-1508.html