jks-keystore doesn't work for all Java versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ca-certificates-java (Debian) |
Unknown
|
Unknown
|
|||
ca-certificates-java (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Utopic |
Confirmed
|
Undecided
|
Unassigned | ||
Vivid |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The jks-keystore update hook is trying to find a directory to use as the JAVA_HOME but doesn't look for all the possible/common locations.
for jvm in java-6-
if [ -x /usr/lib/
break
fi
done
For example, this doesn't work with OpenJDK-8 (available in 14.10+ or through PPAs for older releases).
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ca-certificates
ProcVersionSign
Uname: Linux 3.13.0-51-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 28 11:04:19 2015
InstallationDate: Installed on 2014-01-26 (456 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140124)
SourcePackage: ca-certificates
UpgradeStatus: No upgrade log present (probably fresh install)
Here is a patch that works well with openjdk-8.