Bug 1172047 - [httpd] wrong auth_kerb.conf symlink
Summary: [httpd] wrong auth_kerb.conf symlink
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Web Server 3
Classification: Retired
Component: unspecified
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DR01
: 3.0.0
Assignee: Weinan Li
QA Contact: Pavel Slavicek
URL:
Whiteboard:
Depends On:
Blocks: 1178630
TreeView+ depends on / blocked
 
Reported: 2014-12-09 09:59 UTC by Michal Haško
Modified: 2020-03-27 18:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 18:36:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Michal Haško 2014-12-09 09:59:21 UTC
Description of problem:
The latest mod_auth_kerb-eap6 doesn't satisfy the auth_kerb.conf symlink in httpd/conf.d/auth_kerb.conf

# readlink -f jws-3.0/httpd/conf.d/auth_kerb.conf
/etc/httpd24/conf.d/auth_kerb.conf

$ rpm -ql mod_auth_kerb-eap6-5.4-30.ep7.el6.x86_64
/etc/httpd24/conf.modules.d/10-auth_kerb.conf
...

Version-Release number of selected component (if applicable):
jws-httpd-3.0.0-DR0-RHEL*.zip
mod_auth_kerb-eap6-5.4-30.ep7.el6.x86_64.rpm

Comment 1 Weinan Li 2014-12-13 16:56:22 UTC
From JWS3 we will ship auth_kerb directly:

 # mod_auth_kerb
-ln -s %{_libdir}/%{httpd}/modules/mod_auth_kerb.so httpd/modules/
-ln -s %{_sysconfdir}/%{httpd}/conf.d/auth_kerb.conf httpd/conf.d/
+cp %{_libdir}/%{httpd}/modules/mod_auth_kerb.so httpd/modules/

Comment 2 Weinan Li 2014-12-22 12:25:37 UTC
Fix part 2:

[weli@dhcp-66-78-87 jws-compose]$ git diff
diff --git a/jws-compose.spec b/jws-compose.spec
index 9a34fcf..9403f42 100644
--- a/jws-compose.spec
+++ b/jws-compose.spec
@@ -282,6 +282,7 @@ sed -i -e "s:^LoadModule proxy_balancer_module:#LoadModule proxy_balancer_module

 # mod_auth_kerb
 cp %{_libdir}/%{httpd}/modules/mod_auth_kerb.so httpd/modules/
+cp %{_sysconfdir}/%{httpd}/conf.modules.d/10-auth_kerb.conf httpd/conf.modules.d/

 # mod_rt
 cp -pr %{_libdir}/%{httpd}/modules/mod_rt.so httpd/modules/

---
Local verification:

[weli@dhcp-66-78-87 jbossas-fordev]$ unzip -l jws-httpd-3.0.0-RHEL6-x86_64.zip | grep kerb
    43016  12-22-2014 20:21   jws-3.0/httpd/modules/mod_auth_kerb.so
       53  12-22-2014 20:21   jws-3.0/httpd/conf.modules.d/10-auth_kerb.conf

Comment 3 Weinan Li 2015-01-23 04:23:30 UTC
This is a zip only problem. RPM packages are fine. So the fix seems complete.

Comment 4 Libor Fuka 2015-02-03 12:06:03 UTC
Verified with DR2 RHEL6 RHEL7 zips.


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