ca-certificates-java deletes libnss3.so and nss.cfg, crashing Java when launched

Bug #1212510 reported by Sam Bethmann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenJDK
Invalid
Undecided
Unassigned
ca-certificates-java (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Apparently this bug has reappeared, except this time the update to ca-certificates-java also deletes (or blanks, I can't remember if nss.cfg was there or not when I checked it) the file nss.cfg:

https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/855171

I am using Ubuntu 12.04.2 LTS, version 20110912ubuntu6 of ca-certificates-java, and version 7u25-2.3.10-1ubuntu0.12.04.2 of openjdk-7-jre.

I was installing p7zip when apt-get alerted me of a security update to Java 7 (openjdk-7-jre). When I updated and started my Bukkit (Minecraft) server (a jarfile), the application crashed (see part 1 of attached crash.txt). The crash was due to a java.io.FileNotFoundException in /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/nss.cfg. The jarfile was working perfectly fine before I updated openjdk-7-jre (and possibly some dependencies.) I tried to fix this by creating the nss.cfg and filling it with this:

#Content of nss.cfg
name=NSS
nssLibraryDirectory=${java.home}/lib/amd64
nssDbMode=noDb
attributes=compatibility

After which I started the jarfile again, and another java.io.FileNotFoundException appeared... this time /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnss3.so was missing (see part 2 of attached crash.txt). I have not been able to find a solution to fix this, nor do I have another libnss3.so on my machine (to my knowledge.)

Unlike the fix reported in the bug report above, 'sudo apt-get install --reinstall libnss3 libnss3:i386' does not fix this problem.

Tags: java
Revision history for this message
Sam Bethmann (gladamas) wrote :
tags: added: java
Sam Bethmann (gladamas)
summary: - ca-certificates-java deletes libnss3.so and nss.cfg
+ ca-certificates-java deletes libnss3.so and nss.cfg, crashing Java when
+ launched
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ca-certificates-java (Ubuntu):
status: New → Confirmed
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Ubuntu 12.04 (Precise Pangolin) reaches End of Life on April 28 2017

Changed in openjdk:
status: New → Invalid
Changed in ca-certificates-java (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.