Description of problem: Since Fedora 27 the mpm_event_module is activated by default. Outputs written by cgi-scripts to "stderr" during https-sessions are unusable and ending up in the file error_log instead of ssl_error_log. The entries made by cgi-scripts in the file error_log don't have any timestamp, User-Agent, referer et cetera. The LogFormat from httpd.conf is ignored. All I can see is the native output from the cgi-script. Version-Release number of selected component (if applicable): httpd-2.4.33-2 How reproducible: Create a cgi-script which can output the word "Test" to stderr. Steps to Reproduce: 1. Start httpd: systemctl start httpd.service 2. Send a https-request to a cgi-script which can produce an output (like the word "Test") to stderr. 3. Check the file /var/log/httpd/error_log Actual results: The file /var/log/httpd/error_log contains a line with the word "Test". No date, timestamp, et cetera. This is wrong and should be written to /var/log/httpd/ssl_error_log, because of ssl-request. Expected results: The file /var/log/httpd/ssl_error_log should contain a line with the word "Test" like this: Wed Jun 13 16:44:20.295009 2018] [cgi:error] [pid 14844] [client ::1:59776] AH01215: Test: /var/www/cgi-bin-ssl/test.cgi Additional info: A possible workaround is to switch back to prefork MPM in the file /etc/httpd/conf.modules.d/00-mpm.conf LoadModule mpm_prefork_module modules/mod_mpm_prefork.so #LoadModule mpm_event_module modules/mod_mpm_event.so
Known issue upstream, no fix available at the moment, sorry.
This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Commit: https://src.fedoraproject.org/rpms/httpd/c/2993aea7a705c7ef4b943b1770f98b2964792d83
Package: httpd-2.4.39-11.fc31
FEDORA-2019-e00c65ec6f has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e00c65ec6f
FEDORA-2019-099575a123 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-099575a123
Please test the 2.4.41 updates above which have a major improvement to stderr handling in mod_cgid, and give any feedback here.
I have just tested the updates (2.4.41). So far so good. It seems to be OK. Thanks for the fix.
httpd-2.4.41-1.fc30, mod_md-2.0.8-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
httpd-2.4.41-1.fc29, mod_md-2.0.8-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e00c65ec6f
httpd-2.4.41-1.fc29, mod_md-2.0.8-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e00c65ec6f
httpd-2.4.41-1.fc29, mod_md-2.0.8-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.