Description of problem: It looks like python 2.7.3 landed in Fedora 16 updates. This leads to error in Apache's error_log upon startup. Version-Release number of selected component (if applicable): # rpm -q python mod_python python-2.7.3-3.fc16.x86_64 mod_python-3.3.1-16.fc16.x86_64 How reproducible: Deterministic. Steps to Reproduce: 1. Have Fedora 16 with httpd, python-2.7.2, and mod_python. Observe that there are no errors upon Apache start and the notice line says [Tue Jul 31 10:17:08 2012] [notice] Apache/2.2.22 (Unix) DAV/2 mod_python/3.3.1 Python/2.7.2 configured -- resuming normal operations 2. Run yum upgrade python, note that version 2.7.3 gets installed. 3. Run service httpd restart, look into /var/log/httpd/error_log. Actual results: [Tue Jul 31 10:17:49 2012] [error] python_init: Python version mismatch, expected '2.7.2', found '2.7.3'. [Tue Jul 31 10:17:49 2012] [error] python_init: Python executable found '/usr/bin/python'. [Tue Jul 31 10:17:49 2012] [error] python_init: Python path being used '/usr/lib64/python27.zip:/usr/lib64/python2.7/:/usr/lib64/python2.7/plat-linux2:/usr/lib64/python2.7/lib-tk:/usr/lib64/python2.7/lib-old:/usr/lib64/python2.7/lib-dynload'. [Tue Jul 31 10:17:49 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Tue Jul 31 10:17:49 2012] [notice] mod_python: using mutex_directory /tmp [Tue Jul 31 10:17:49 2012] [notice] Apache/2.2.22 (Unix) DAV/2 mod_python/3.3.1 Python/2.7.3 configured -- resuming normal operations Expected results: [Tue Jul 31 10:17:49 2012] [notice] Apache/2.2.22 (Unix) DAV/2 mod_python/3.3.1 Python/2.7.3 configured -- resuming normal operations and no error lines. Additional info: This might or might not be a blocker for bug 833139.
This is printed by mod_python, it uses strcmp to compare runtime version and built version. I'm rebuilding mod_python now, it should help I think.
mod_python-3.3.1-17.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mod_python-3.3.1-17.fc16
I confirm that the python_init error is gone. Thank you!
Package mod_python-3.3.1-17.fc16: * should fix your issue, * was pushed to the Fedora 16 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-17.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-11443/mod_python-3.3.1-17.fc16 then log in and leave karma (feedback).
mod_python-3.3.1-17.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 834828 has been marked as a duplicate of this bug. ***