Bug 1004875

Summary: Request: Change mod_jk-ap22's dependencies
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Michal Karm Babacek <mbabacek>
Component: RPMsAssignee: Permaine Cheung <pcheung>
Status: CLOSED CURRENTRELEASE QA Contact: Michal Karm Babacek <mbabacek>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.1.1CC: jclere, jstefl, mbabacek, pgier
Target Milestone: DR6   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-28 15:25:38 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 Michal Karm Babacek 2013-09-05 16:00:56 UTC
Hello :-)

yum install mod_jk forces customers on RHEL6 (RHEL5) to update their httpd
from 2.2.15 (2.2.3) to 2.2.22 from jbappplatform-6 channel. This is not
the desired behaviour.

Please, edit mod_jk's spec file [1] in this fashion (and check my somewhat
feeble spec file syntax knowledge :-))


- Requires: httpd >= 2.2.22
+ #RHEL5 specific:
+ %if 0%{?rhel} == 5
+   Requires: httpd >= 2.2.3
+   Requires: mod_perl >= 2.0.4
+ #RHEL6 specific:
+ %else
+   Requires: httpd >= 2.2.15
+ %endif 


Note
----
Yes, httpd 2.2.3 is a supported httpd version (needs mod_perl though).
Yes, httpd 2.2.15 is a supported httpd version.
Yes, mod_perl is necessary due to:

    readelf -Ws /etc/httpd/modules/mod_jk.so | grep ap_get_server_description
    21: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND ap_get_server_description

that is satisfied by:

    readelf -Ws /etc/httpd/modules/mod_perl.so | grep ap_get_server_description
    410: 000000000002a5f0     5 FUNC    GLOBAL DEFAULT   10 ap_get_server_description

We test this setup during the regular test cycle.
Latter httpd 2.2.15 provides the symbol itself and does not require mod_perl installed.



[1] http://pkgs.devel.redhat.com/cgit/rpms/mod_jk/tree/mod_jk.spec?h=jb-eap-6-rhel-6

Comment 1 Permaine Cheung 2013-09-09 16:04:28 UTC
These new builds contain the requested changes:
mod_jk-1.2.37-3.redhat_2.ep6.el6
mod_jk-1.2.37-3.redhat_2.ep6.el5

Comment 3 Michal Karm Babacek 2014-03-31 13:50:33 UTC
Verified, spec is O.K. and installation looks fine as well:

RHEL6
Installed: httpd-2.2.15-29.el6_4.x86_64.rpm
Package mod_jk-ap22.x86_64 0:1.2.37-4.redhat_3.ep6.el6 does not require httpd upgrade nor mod_perl.

RHEL5
Installed: httpd-2.2.3-83.el5_10.x86_64.rpm                                                                                               
Package mod_jk-ap22-1.2.37-4.redhat_3.ep6.el5.x86_64.rpm does not require httpd upgrade and it depends on:
mod_perl-2.0.4-6.el5.x86_64.rpm, which needs perl-BSD-Resource-1.28-1.fc6.1.x86_64.rpm.

VERIFIED