← Back to team overview

openjdk team mailing list archive

[Bug 855171] Re: libnss3.so went missing after upgrade

 

I believe the change that was committed for this is either wrong or
incomplete.  The original change that actually broke it was removing
libnss3.so from the libnss3-1d package.  It never should have been
there, as it was already in the libnss3 package.  However, jks-keystore
does:

    nsspkg=$(dpkg-query -L libnss3-1d | sed -n
's,\(.*\)/libnss3\.so$,\1,p')

So, with the new libnss3-1d package, $nsspkg is empty.  The “fix” was to
add a test later for an empty $nsspkg.  I think this is a fine change,
and increases the safety of this somewhat sketchy script, but it does
not fix the problem that the script is still looking for a file in the
libnss3-1d packing list that is not there.

Whether it should be looking for libnss3.so.1d, or looking in the
libnss3 packing list, I'm not sure.

-- 
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/855171

Title:
  libnss3.so went missing after upgrade

Status in “ca-certificates” package in Ubuntu:
  Fix Released
Status in “ca-certificates-java” package in Ubuntu:
  Fix Released
Status in “nss” package in Ubuntu:
  Invalid

Bug description:
  A bug in version 20110912ubuntu1 of the ca-certificates-java package,
  combined with an update to the ca-certificates package, resulted in
  the incorrect removal of the libnss3.so library from the filesystem of
  users who had these packages installed.  As this library is a
  dependency of core functionality, including the NetworkManager service
  which manages networks on the desktop, it is critical to restore this
  library to the system before rebooting; otherwise users may not have
  the network access needed to fix the problem.

  Users affected by this issue will see the following output on their
  system:

  $ dpkg -s libnss3 | grep Status
  Status: install ok installed
  $ ls /usr/lib/*-gnu/libnss3.so
  ls: cannot access /usr/lib/*-gnu/libnss3.so: No such file or directory
  $

  Affected users should run the following command to restore the deleted
  library:

  $ sudo apt-get install --reinstall libnss3 libnss3:i386

  Users should then ensure they upgrade to version 20110912ubuntu2 or
  later of the ca-certificates-java package to prevent any further
  library deletions.

  Original description:
  I upgraded "ca-certificates" and "light-themes" and afer a reboot my wireless networking was gone. Turns out "/usr/lib/x86_64-linux-gnu/libnss3.so" wasn't there anymore. After restoring that file everything works fine again. Probably related to the other new bugs for this package?

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: ca-certificates 20110502+nmu1ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic x86_64
  ApportVersion: 1.23-0ubuntu1
  Architecture: amd64
  Date: Wed Sep 21 01:43:05 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110112)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ca-certificates
  UpgradeStatus: No upgrade log present (probably fresh install)

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



Follow ups