Bug 865583

Summary: broker http config breaks in httpd 2.4
Product: [Fedora] Fedora Reporter: Troy Dawson <tdawson>
Component: openshift-origin-brokerAssignee: Troy Dawson <tdawson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: bleanhar, maxamillion, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 16:04:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Troy Dawson 2012-10-11 20:09:38 UTC
Description of problem:
/var/www/stickshift/broker/httpd/httpd.conf and broker.conf has several settings that do not work with httpd 2.4

Version-Release number of selected component (if applicable):
openshift-origin-broker-0.6.7-12.fc18

How reproducible:
Always

Steps to Reproduce:
1. install and configure openshift-origin-broker
2. systemctl restart openshift-origin-broker.service
3.
  
Actual results:
Job for openshift-origin-broker.service failed. See 'systemctl status openshift-origin-broker.service' and 'journalctl' for details.

Expected results:
No errors.

Additional info:
running  "systemctl status openshift-origin-broker.service" shows

httpd: Syntax error on line 24 of /var/www/stickshift/broker/httpd/httpd.conf: Can't locate API module structure `mpm' in file /var/www/stickshift/broker/httpd/modules/mod_mpm_prefork.so: /var/www/stickshift/broker/httpd/modules/mod_mpm_prefork.so: undefined symbol: mpm
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
Ignoring deprecated use of DefaultType in line 91 of /var/www/stickshift/broker/httpd/httpd.conf.


This can be fixed with the following patch
# diff -u httpd.conf.orig httpd.conf
--- httpd.conf.orig	2012-10-11 10:07:05.789194461 -0500
+++ httpd.conf	2012-10-11 14:32:57.572122478 -0500
@@ -18,8 +18,12 @@
 #LoadModule authn_alias_module modules/mod_authn_alias.so
 #LoadModule authn_anon_module modules/mod_authn_anon.so
 #LoadModule authn_dbm_module modules/mod_authn_dbm.so
-LoadModule authn_default_module modules/mod_authn_default.so
+#LoadModule authn_default_module modules/mod_authn_default.so
 LoadModule authz_host_module modules/mod_authz_host.so
+LoadModule authn_core_module modules/mod_authn_core.so
+LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
+LoadModule unixd_module modules/mod_unixd.so
+LoadModule access_compat_module modules/mod_access_compat.so
 #LoadModule authz_user_module modules/mod_authz_user.so
 #LoadModule authz_owner_module modules/mod_authz_owner.so
 #LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
@@ -84,7 +88,7 @@
     Satisfy All
 </Files>
 TypesConfig /etc/mime.types
-DefaultType text/plain
+#DefaultType text/plain
 <IfModule mod_mime_magic.c>
     MIMEMagicFile conf/magic
 </IfModule>

Comment 1 Troy Dawson 2012-10-11 20:10:06 UTC
Applying patch to package.

Comment 2 Fedora Update System 2012-10-11 20:43:51 UTC
openshift-origin-broker-0.6.7-13.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/openshift-origin-broker-0.6.7-13.fc18

Comment 3 Fedora Update System 2012-10-12 17:54:31 UTC
Package openshift-origin-broker-0.6.7-13.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openshift-origin-broker-0.6.7-13.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16009/openshift-origin-broker-0.6.7-13.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-12-20 16:04:37 UTC
openshift-origin-broker-0.6.7-13.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.