On Sun, May 02, 2021 at 07:29:56AM -0700, tony mancill wrote: > 1) The exception is being thrown in the mina library (source package > mina2: https://tracker.debian.org/pkg/mina2), so we will likely end up > reassigning the bug to that package.
I have reassigned the bug to mina2. > 2) Because mina2 and apacheds2 haven't changed in over 6 months and this > issue began shortly after the introduction of OpenJDK 11.0.11 to > unstable, I suspect that Apache Mina2 has been setting a socket option > that has been deprecated for a while and is now no longer supported. I didn't find a difference in OpenJDK that would account for the change in behavior, although it could be that I didn't go far enough back (I was comparing sources back to 11.0.9.1), or that I missed the salient bit. > Assuming my hunch is correct, I propose patching mina2 to no longer > attempt to set SO_SNDBUF [2]. mina2 is only used by ApacheDS within > Debian, so it should be fairly quick to test the change. I have built mina2 with SO_SNDBUF line disabled [1], and then thought better of it (maybe it still works on certain platforms - it seems to have worked in the past) and updated the patch to attempt to set the option and then ignore the UnsupportedOperationException [2] if thrown. I installed this package locally and tested with the current apacheds, confirming that it now starts as expected. I also verified via ratt that all build r-deps of mina2 are still healthy (although since this is a runtime bug, that's just due diligence). I propose uploading and requesting an unblock for mina2 but since we're in the freeze and this is an RC bug, I want to give other members of the Java Team who might be more familiar with the code a chance to comment. If there are no objections, I will upload on 2021-05-03 (afternoon UTC). Cheers, tony [1] https://salsa.debian.org/java-team/mina2/-/blob/eab3e3cfeff66c694fc9bf7c7047f13f258946ae/debian/patches/SO_SNDBUF.patch [2] https://salsa.debian.org/java-team/mina2/-/blob/bc58296df862065ec641ce47095f2fb46d54aeb9/debian/patches/SO_SNDBUF.patch
signature.asc
Description: PGP signature