Bug 633905 - mod_python is trying to read /root/.local/usr/lib64/site-packages/
Summary: mod_python is trying to read /root/.local/usr/lib64/site-packages/
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_python
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-14 16:03 UTC by Daniel Walsh
Modified: 2011-07-23 02:03 UTC (History)
3 users (show)

Fixed In Version: mod_python-3.3.1-16.fc15
Clone Of:
Environment:
Last Closed: 2011-07-23 02:03:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Walsh 2010-09-14 16:03:02 UTC
Description of problem:

I have seen people asking questions about apache trying to read /root/.local

The user eventually figured out that if he removed the mod_python module from httpd.conf the avc went away.

I believe this is caused by the python libraries looking for local customizations in  ~/.local/usr/lib65/site-packages.  

In python you can turn this behavior off with the -s qualifier.  I believe this should be the default for mod_python.

Comment 1 Fedora Update System 2011-07-14 09:23:34 UTC
mod_python-3.3.1-16.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mod_python-3.3.1-16.fc15

Comment 2 Fedora Update System 2011-07-15 01:28:20 UTC
Package mod_python-3.3.1-16.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mod_python-3.3.1-16.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/mod_python-3.3.1-16.fc15
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-07-23 02:03:51 UTC
mod_python-3.3.1-16.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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