RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 968345 - abrt.pth prevents python virtualenv creation
Summary: abrt.pth prevents python virtualenv creation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt
Version: 6.4
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Jiri Moskovcak
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On: 912540 912672
Blocks: 907449 947775 964123 976874
TreeView+ depends on / blocked
 
Reported: 2013-05-29 13:47 UTC by Jiri Moskovcak
Modified: 2015-02-01 22:55 UTC (History)
22 users (show)

Fixed In Version: abrt-2.0.8-16.el6_4.1
Doc Type: Bug Fix
Doc Text:
* Previously, attempts to create a Python virtualenv environment using the "--system-site-packages" option resulted in an exception when the site.py() function attempted to load the abrt_exception_handler package. This was caused because Python tried to load the abrt.pth file, in which the abrt_exception_handler module was imported. Since the abrt_exception_handler module was installed under the /usr/lib64 directory and the abrt.pth file was installed under the /usr/lib directory, the site.py() function did not find the required module. This update moves the abrt.pth file to the architecture specific folder, so on 32-bit systems to the /usr/lib/python2.7/site-packages/ directory and on 64-bit systems to the /usr/lib64/python2.7/site-packages/ directory, which corrects this issue.
Clone Of: 912672
Environment:
Last Closed: 2013-09-26 10:05:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1289 0 normal SHIPPED_LIVE abrt bug fix update 2013-09-26 14:03:06 UTC

Comment 7 Martin Kyral 2013-09-12 15:03:40 UTC
Verified that the abrt.pth file is placed in the proper location, but unable to reproduce => SanityOnly

0 [mkyral@testbox ~]$ rpm -q abrt-addon-python
abrt-addon-python-2.0.8-15.el6.x86_64
0 [mkyral@testbox ~]$ rpm -ql abrt-addon-python
/etc/abrt/plugins/python.conf
/etc/libreport/events.d/python_event.conf
/usr/bin/abrt-action-analyze-python
/usr/lib/python2.6/site-packages/abrt.pth
/usr/lib64/python2.6/site-packages/abrt_exception_handler.py
/usr/lib64/python2.6/site-packages/abrt_exception_handler.pyc
/usr/lib64/python2.6/site-packages/abrt_exception_handler.pyo
/usr/share/man/man1/abrt-action-analyze-python.1.gz
0 [mkyral@testbox ~]$ virtualenv --system-site-packages tst
New python executable in tst/bin/python
Installing Setuptools...................................................................................................................................................................................................................................done.
Installing Pip..........................................................................................................................................................................................................................................................................................................................................done.
0 [mkyral@testbox ~]$ rm -rf tst
0 [mkyral@testbox ~]$ rpm -q abrt-addon-python
abrt-addon-python-2.0.8-16.el6_4.1.x86_64
0 [mkyral@testbox ~]$ rpm -ql abrt-addon-python
/etc/abrt/plugins/python.conf
/etc/libreport/events.d/python_event.conf
/usr/bin/abrt-action-analyze-python
/usr/lib64/python2.6/site-packages/abrt.pth
/usr/lib64/python2.6/site-packages/abrt_exception_handler.py
/usr/lib64/python2.6/site-packages/abrt_exception_handler.pyc
/usr/lib64/python2.6/site-packages/abrt_exception_handler.pyo
/usr/share/man/man1/abrt-action-analyze-python.1.gz
0 [mkyral@testbox ~]$ virtualenv --system-site-packages tst
New python executable in tst/bin/python
Installing Setuptools...................................................................................................................................................................................................................................done.
Installing Pip..........................................................................................................................................................................................................................................................................................................................................done.
0 [mkyral@testbox ~]$

Comment 9 errata-xmlrpc 2013-09-26 10:05:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1289.html


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