Bug 865583 - broker http config breaks in httpd 2.4
Summary: broker http config breaks in httpd 2.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openshift-origin-broker
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Troy Dawson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-11 20:09 UTC by Troy Dawson
Modified: 2012-12-20 16:04 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-20 16:04:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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