Debian Bug report logs - #775775
ca-certificates-java: please add support for openjdk-8

version graph

Package: ca-certificates-java; Maintainer for ca-certificates-java is Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>; Source for ca-certificates-java is src:ca-certificates-java (PTS, buildd, popcon).

Reported by: Joseph Ferguson <joe@infosiftr.com>

Date: Mon, 19 Jan 2015 19:09:07 UTC

Severity: serious

Tags: patch, sid, stretch

Found in version ca-certificates-java/20140324

Fixed in version ca-certificates-java/20160321

Done: Benjamin Drung <benjamin.drung@profitbricks.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, admwiggin@gmail.com, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#775775; Package ca-certificates-java. (Mon, 19 Jan 2015 19:09:12 GMT) (full text, mbox, link).


Acknowledgement sent to Joseph Ferguson <joe@infosiftr.com>:
New Bug report received and forwarded. Copy sent to admwiggin@gmail.com, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Mon, 19 Jan 2015 19:09:12 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Joseph Ferguson <joe@infosiftr.com>
To: submit@bugs.debian.org
Subject: ca-certificates-java: please add support for openjdk-8
Date: Mon, 19 Jan 2015 11:07:50 -0800
[Message part 1 (text/plain, inline)]
Package: ca-certificates-java
Version: 20140324
X-Debbugs-CC: admwiggin@gmail.com

I am having an issue on sid where ca-certificates-java does not find java
when using jdk 8, thus leaving the '/etc/ssl/certs/java/cacerts' uncreated.

Here is the command I run on a fresh system (technically a docker
container, but that is unrelated):
$ apt-get update && apt-get install openjdk-8-jdk='8u40~b09-1'

Here is the truncated output:
Setting up ca-certificates-java (20140324) ...
/var/lib/dpkg/info/ca-certificates-java.postinst: line 53: java: command
not found
/var/lib/dpkg/info/ca-certificates-java.postinst: line 66: java: command
not found
done.

I have made a patch of minimal changes (since you may want to tweak the
ordering) to add java-8 to the search paths.

*** postinst.in 2015-01-19 10:31:22.523025381 -0800
--- postinst-new.in 2015-01-19 10:32:18.909532328 -0800
*************** nsslib_name()
*** 27,32 ****
--- 27,33 ----
  setup_path()
  {
      for jvm in java-6-openjdk-$arch java-6-openjdk \
+                java-8-openjdk-$arch java-8-openjdk \
                 java-7-openjdk-$arch java-7-openjdk java-6-sun; do
      if [ -x /usr/lib/jvm/$jvm/bin/java ]; then
          break

Here is related discussion:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1396760
https://github.com/docker-library/java/issues/19

Thanks,
Joe Ferguson

(thanks to @tianon for his guidance in making this report)
[Message part 2 (text/html, inline)]

Added tag(s) patch. Request was from Eugene Zhukov <jevgeni.zh@gmail.com> to control@bugs.debian.org. (Thu, 05 Feb 2015 07:03:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#775775; Package ca-certificates-java. (Tue, 28 Apr 2015 20:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Simon Deziel <simon.deziel@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 28 Apr 2015 20:45:04 GMT) (full text, mbox, link).


Message #12 received at 775775@bugs.debian.org (full text, mbox, reply):

From: Simon Deziel <simon.deziel@gmail.com>
To: 775775@bugs.debian.org
Subject: ca-certificates-java: please add support for more JDK
Date: Tue, 28 Apr 2015 16:42:54 -0400
I have came up with a very similar patch [1] that adds support for a
couple more JDK versions (OpenJDK and Oracle present and future versions).

The patch only touches the jks-keystore hook but the same logic would
apply to the postinst.

1:
https://bugs.launchpad.net/debian/+source/ca-certificates-java/+bug/1449652/+attachment/4386860/+files/jks-keystore.patch



Severity set to 'serious' from 'normal' Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Mon, 08 Feb 2016 20:51:06 GMT) (full text, mbox, link).


Added tag(s) stretch and sid. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 11 Feb 2016 20:51:08 GMT) (full text, mbox, link).


Reply sent to Benjamin Drung <benjamin.drung@profitbricks.com>:
You have taken responsibility. (Mon, 21 Mar 2016 13:51:08 GMT) (full text, mbox, link).


Notification sent to Joseph Ferguson <joe@infosiftr.com>:
Bug acknowledged by developer. (Mon, 21 Mar 2016 13:51:10 GMT) (full text, mbox, link).


Message #21 received at 775775-close@bugs.debian.org (full text, mbox, reply):

From: Benjamin Drung <benjamin.drung@profitbricks.com>
To: 775775-close@bugs.debian.org
Subject: Bug#775775: fixed in ca-certificates-java 20160321
Date: Mon, 21 Mar 2016 13:49:09 +0000
Source: ca-certificates-java
Source-Version: 20160321

We believe that the bug you reported is fixed in the latest version of
ca-certificates-java, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 775775@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Benjamin Drung <benjamin.drung@profitbricks.com> (supplier of updated ca-certificates-java package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 21 Mar 2016 14:34:49 +0100
Source: ca-certificates-java
Binary: ca-certificates-java
Architecture: source all
Version: 20160321
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Benjamin Drung <benjamin.drung@profitbricks.com>
Description:
 ca-certificates-java - Common CA certificates (JKS keystore)
Closes: 775775 776897
Changes:
 ca-certificates-java (20160321) unstable; urgency=medium
 .
   * Team upload.
   * Drop support for obsolete Java 6 (Closes: #776897)
   * Add support for Java 8 and 9 (Closes: #775775)
   * Bump Standards-Version to 3.9.7 (no changes)
   * Use secure HTTPS URI for Vcs-Browser
Checksums-Sha1:
 dc5ba32a2627c024ac57428e8abbeaf11c242500 1843 ca-certificates-java_20160321.dsc
 ebd9185677a299c7fa4cf050d3efe28406dbd31b 15712 ca-certificates-java_20160321.tar.xz
 f919801682e950ccb17a9268e7a79dd356d00754 14356 ca-certificates-java_20160321_all.deb
Checksums-Sha256:
 75469c1d2d4f1bbd556916cc31245db65581f67fc7c1bcbffcaf0fb3ddeeddfb 1843 ca-certificates-java_20160321.dsc
 3caf93b56caa98b2c06ca704d85efc1e5ef7ca14fda8dc8392b15e6fc27aa849 15712 ca-certificates-java_20160321.tar.xz
 58418b679260bb981603cc7e0b0cc68aa50162004687acd574fef4040acf00d7 14356 ca-certificates-java_20160321_all.deb
Files:
 3aa2889bd882b98e6d922cb5d39eb234 1843 java optional ca-certificates-java_20160321.dsc
 34da78d267c5b679bc698138bf6e512d 15712 java optional ca-certificates-java_20160321.tar.xz
 9fd710210d8eecee8785110a1c846ba5 14356 java optional ca-certificates-java_20160321_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJW7/jQAAoJEN2M1aXejH56XM0P/0ciRWlHe9VyNsi3jNYDU8OY
XJryMwR1NqBHv2dYCW1hiEKfnkD30aLKRAPUtvL71KDu9wEty9ry6DIoAvmt6UCE
s9nEY0mxwXU1gmnZWjQ0ctH+XY5ElFiHbAsrfwH9t/Rku1dwUAtsfb01oidIAoJ1
Q0lv3I8zl+AUL/x9/ChVcZW8KpI0RxGZYfVh9QH3xyN7QFadxXAOC4qvbEzQeVB7
ZCVL3nYeP5QIJtTWy3E/T82zwMjutEOZWZ7vebaUNtT89rQGztYAxbV0QcA2wDMW
3A0uHi5NUV1B8vWcTbRI2lonnmMMqP1mbNW0b/ICpolf7c/d6JIYQx6KN2KtRuJs
dgUn4MzJ6SDTB+LyzNW+iWCU86oGnI7IIoxucexUyBxJAUgyLX/dSymjpSfVv1mz
ndpPJQs33fIVEGpXlHXPnY3DLpK4+XvjF2WgUv3hp1yHzifLURgqHkN8R0oTQjql
WGfySG1h9uFg+S2WKHzapkWZboWTVq/wbT9aSWo4qj0RPYQCs7yNNXmD62HAwUST
m4bvGG83rUPqTBuQq1FVclP0dEktIgHiQ6UjDrXZ2mgiWuN0P4Fex/sTbifBuGXg
k7kGXipAepPTw4QSIg+vmnHEwSQqTL/CB9K1o1Si3JqIh2JgcPG0Drb9UdoNlg3s
biOdhKMx9EiZdUrHoq28
=242b
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 25 Apr 2016 07:36:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 27 13:31:17 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.