Your message dated Sat, 10 Sep 2022 13:40:55 +0100
with message-id
<2cfc9645343bdb910fe19c07bddfec2c428346a3.ca...@adam-barratt.org.uk>
and subject line Closing requests for updates included in 10.13
has caused the Debian Bug report #1015243,
regarding buster-pu: package commons-daemon/1.0.15-8
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1015243: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015243
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: pkg-java-maintain...@lists.alioth.debian.org
[ Reason ]
Running a java daemon using jsvc and the JVM from (old)stable does not
work. It appears no java programs inside Debian still use jsvc,
otherwise people would have noticed earlier. This is bug #935336,
and I want to fix it in oldstable (this bug) and stable (to be filed).
[ Impact ]
jsvc just does not work except if on upgrades one keeps the JVM from
oldoldstable (openjdk 8).
[ Tests ]
I manually tested the built package on oldoldstable amd64.
[ Risks ]
The workarounds are either to keep openjdk 8 if available, or use
another mechanism to start services. Some third party packages want to
use jsvc, so there is no good workaround for them.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in oldstable
[x] the issue is verified as fixed in unstable
[ Changes ]
Add (fixed) patch to find libjvm.so in the locations OpenJDK uses in
Version 11 and newer. The same patch is in unstable, and works on
oldstable, stable and in unstable/testing.
[ Other info ]
I only discovered the problem when recently updating a machine running
third-party software for managing wireless hotspots of a somewhat
popular brand. The third-party packages have "interesting" dependencies,
and only recently are usable with OpenJDK 11. I imagine other users will
also run into this problem.
I'm running the fixed jsvc_1.0.15-8+deb10u1_amd64.deb on that machine.
[ debdiff ]
diff -Nru commons-daemon-1.0.15/debian/changelog
commons-daemon-1.0.15/debian/changelog
--- commons-daemon-1.0.15/debian/changelog 2017-03-02 12:51:51.000000000
+0000
+++ commons-daemon-1.0.15/debian/changelog 2022-07-18 09:35:49.000000000
+0000
@@ -1,3 +1,10 @@
+commons-daemon (1.0.15-8+deb10u1) buster; urgency=medium
+
+ * Non-maintainer upload.
+ * Apply patch from unstable to fix JVM detection. (Closes: #935336)
+
+ -- Chris Hofstaedtler <z...@debian.org> Mon, 18 Jul 2022 09:35:49 +0000
+
commons-daemon (1.0.15-8) unstable; urgency=medium
* Team upload.
diff -Nru commons-daemon-1.0.15/debian/patches/debian-935336.patch
commons-daemon-1.0.15/debian/patches/debian-935336.patch
--- commons-daemon-1.0.15/debian/patches/debian-935336.patch 1970-01-01
00:00:00.000000000 +0000
+++ commons-daemon-1.0.15/debian/patches/debian-935336.patch 2022-07-16
00:03:00.000000000 +0000
@@ -0,0 +1,26 @@
+Description: locate more recent JVM (including OpenJDK)
+Author: Graeme Vetterlein <graeme.report...@vetterlein.com>,
+ Chris Hofstaedtler <z...@debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935336
+Last-Update: 2022-07-09
+
+Index: commons-daemon-1.0.15/src/native/unix/native/location.c
+===================================================================
+--- commons-daemon-1.0.15.orig/src/native/unix/native/location.c
++++ commons-daemon-1.0.15/src/native/unix/native/location.c
+@@ -115,6 +115,7 @@ char *location_jvm_default[] = {
+ "$JAVA_HOME/jre/lib/libjvm.so",
+ "$JAVA_HOME/lib/classic/libjvm.so",
+ "$JAVA_HOME/lib/client/libjvm.so",
++ "$JAVA_HOME/lib/server/libjvm.so",
+ "$JAVA_HOME/lib/libjvm.so",
+ "$JAVA_HOME/jre/bin/classic/libjvm.so",
+ "$JAVA_HOME/jre/bin/client/libjvm.so",
+@@ -149,6 +150,7 @@ char *location_jvm_configured[] = {
+ #elif defined(OS_LINUX) || defined(OS_SOLARIS) || defined(OS_BSD) ||
defined(OS_FREEBSD) || defined(OS_TRU64)
+ "$JAVA_HOME/jre/lib/" CPU "/$VM_NAME/libjvm.so", /* Sun JDK 1.3 */
+ "$JAVA_HOME/lib/" CPU "/$VM_NAME/libjvm.so", /* Sun JRE 1.3 */
++ "$JAVA_HOME/lib/$VM_NAME/libjvm.so",
+ #elif defined(OS_HPUX)
+ "$JAVA_HOME/jre/lib/" CPU "/$VM_NAME/libjvm." SO_EXT,
+ "$JAVA_HOME/lib/" CPU "/$VM_NAME/libjvm." SO_EXT,
diff -Nru commons-daemon-1.0.15/debian/patches/series
commons-daemon-1.0.15/debian/patches/series
--- commons-daemon-1.0.15/debian/patches/series 2017-03-02 12:51:51.000000000
+0000
+++ commons-daemon-1.0.15/debian/patches/series 2022-07-16 00:03:10.000000000
+0000
@@ -5,3 +5,4 @@
mips_abi_n32_n64_support.diff
arm64.diff
ppc64el.diff
+debian-935336.patch
--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 10.13
Hi,
Each of the updates referenced in these bugs was included in today's
10.13 point release.
Regards,
Adam
--- End Message ---