Red Hat Bugzilla – Bug 235070
PythonAutoReload cannot be disabled in mod_python 3.1.3
Last modified: 2012-06-20 11:59:38 EDT
Description of problem: mod_python 3.1.3 has a bug (see URL) that makes it
impossible to disable PythonAutoReload. The latest package available for CentOS
4.4 is mod_python 3.1.3 (release 5.1), which is apparently still affected by the
Version-Release number of selected component (if applicable): 3.1.3_5.1
How reproducible: Easily
Steps to Reproduce:
1. Set up Apache (I have 2.0.51-28) with mod_python and some python code (e.g. a
[optional] Configure Apache with PythonAutoReload Off (it should be off by default)
2. Change some python code, but DO NOT restart Apache.
3. Refresh the web page a 8-10 times.
Actual results: About 25% of the time the new code will be interpreted by
mod_python, and the rest of the time it will interpret the old code.
Expected results: By default mod_python should not attempt to interpret new code
until Apache is restarted.
Additional info: Even when setting PythonAutoReload Off in Apache's .conf the
setting remains On (see URL for details).
http://issues.apache.org/jira/browse/MODPYTHON-106 made more prominent
According to that bug report at issues.apache.org this bug was resolved in
3.1.4, so it should be a simple matter of backporting the fix from 3.1.4 into a
new release of the mod_python 3.1.3 package.
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.