Bug 539497

Summary: abrt-addon-python ships sitecustomize.py
Product: [Fedora] Fedora Reporter: Jeremy Sanders <jeremy>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mnowak, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: abrt-1.0.9-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-13 01:44:39 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:

Description Jeremy Sanders 2009-11-20 11:43:55 UTC
Description of problem:

The abrt python addon ships a sitecustomize.py file. As the name of this file suggests, this is a _local_ customization file and should not be shipped with a package. The local sysadmin uses this to modify the python installation to add other search paths, etc. Now this file is shipped with abrt-addon-python, this cannot be easily done.

Please can you use a different way to hook into python exceptions (e.g. a pth file).


Version-Release number of selected component (if applicable):
0.0.11-2.fc12

Comment 1 Jiri Moskovcak 2009-11-20 12:16:31 UTC
Hi, I would like to, but I didn't find any other way how to do this without changing every python scirpt we ship in Fedora, if you know how can I avoid using sitecustomize.py I'd be happy to change it. Actually I had an idea to make sitecustomize.py to load user scripts from some dir. That way we can hook-up the ABRT hook and users still can modify their python installation.

Jirka

Comment 2 Jiri Moskovcak 2010-03-25 19:04:31 UTC
Fixed in git. ABRT uses abrt.pth instead of sitecustomize.py.

Comment 3 Fedora Update System 2010-04-06 18:53:39 UTC
abrt-1.0.9-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/abrt-1.0.9-1.fc13

Comment 4 Fedora Update System 2010-04-07 20:55:13 UTC
abrt-1.0.9-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update abrt'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/abrt-1.0.9-1.fc13

Comment 5 Fedora Update System 2010-04-13 01:43:25 UTC
abrt-1.0.9-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.