← Back to team overview

openjdk team mailing list archive

[Bug 1212510] [NEW] ca-certificates-java deletes libnss3.so and nss.cfg

 

Public bug reported:

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.

** Affects: ca-certificates-java (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: java

** Attachment added: "Crash Report"
   https://bugs.launchpad.net/bugs/1212510/+attachment/3773161/+files/crash.txt

** Tags added: java

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to ca-certificates-java in Ubuntu.
https://bugs.launchpad.net/bugs/1212510

Title:
  ca-certificates-java deletes libnss3.so and nss.cfg

Status in “ca-certificates-java” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1212510/+subscriptions


Follow ups

References