Bug 1009987 - Evil IPv6 regression in httpd on Solaris: ma_group_join apr_mcast_hops failed
Summary: Evil IPv6 regression in httpd on Solaris: ma_group_join apr_mcast_hops failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Apache Server (httpd) and Connectors
Version: 6.2.0
Hardware: Unspecified
OS: Solaris
high
high
Target Milestone: ER3
: EAP 6.2.0
Assignee: Mladen Turk
QA Contact: Michal Karm Babacek
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: 1112547
TreeView+ depends on / blocked
 
Reported: 2013-09-19 16:11 UTC by Michal Karm Babacek
Modified: 2015-02-20 10:20 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 1112547 (view as bug list)
Environment:
Last Closed: 2013-12-15 16:12:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Karm Babacek 2013-09-19 16:11:44 UTC
Evil IPv6 regression in httpd on Solaris: ma_group_join apr_mcast_hops failed

Once upon a time
================
Once upon a time, there was a bug that prevented httpd and mod_advertise from running on IPv6 interfaces. The cause of this bug was missing APR patch [1].
This "apr_mcast_hops failed" bug had been fixed long time ago [2]

This fix enabled us to test mod_cluster on Solaris and IPv6. During these early tests, another bug, this time in the mod_cluster's code, had been discovered [3] and effectively prevented us from any further testing of mod_cluster on Solaris with IPv6. We had been waiting for a component update of mod_cluster that would incorporate this fix so as the IPv6 Solaris testing might resume. This happened with EAP6.2 ER2, the release that brought mod_cluster 1.2.6 for the first time.

Surprisingly though, the old APR-missing-patch bug mentioned in the first paragraph [1] is present now in the EAP 6.2 ER2 httpd distribution:

{code}
[Thu Sep 19 08:30:46 2013] [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed
[Thu Sep 19 08:30:46 2013] [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::11:23964.
{code}

I've started digging and re-running tests with the current EAP6.2 ER2 mod_cluster distribution and various older httpd builds. The current result of this endeavor is available on this link [4].

TL;DR
=====

1) Httpd 2.2.22 from EAP 6.1.1.ER1 jboss-ews-httpd-2.0.1-sun10.sparc64.zip was patched and worked on Solaris with IPv6.
2) Its immediate successor: httpd 2.2.22 from EAP 6.1.1.ER2 jboss-ews-httpd-2.0.1-sun10.sparc64.zip didn't contain this crucial patch and apparently, the patch disappeared from the upcoming versions as well.
3) It wasn't discovered earlier, because it wasn't possible to test this setup due to an old mod_cluster version.

Action
======
Patch it with that patch with which it had been patched before :-)


THX


[1] https://issues.jboss.org/browse/JBEWS-58?focusedCommentId=12694446&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12694446

[2] [BZ 900484] [BZ 901197]

[3] https://issues.jboss.org/browse/MODCLUSTER-339

[4] http://pastebin.test.redhat.com/164989

Comment 1 Mladen Turk 2013-09-20 08:14:38 UTC
My mistake. I forgot to apply the patch
http://pkgs.devel.redhat.com/cgit/rpms/httpd/tree/httpd-2.2.21-JBPAPP-9087.patch?h=jb-ep-6-xb

I'll be doing rebuild for both EWS and EAP (since they share the same APR binary) later today.

Comment 2 Mladen Turk 2013-09-23 06:36:22 UTC
I rebuild httpd with missing patch.
Could you please verify if everything works as expected.
You can download the .zip files from
http://www.qa.jboss.com/xbuildroot/packages/ep6/httpd/2.2.22/29.sun10/

In essence you only need libapr-1.so.0.4.5

Comment 3 Vaclav Tunka 2013-09-24 15:20:12 UTC
This will be part of EAP 6.2.0 ER3

Comment 4 Michal Karm Babacek 2013-09-26 07:14:40 UTC
THX. Verified in EAP 6.2.ER3.


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