Thanks, Sander. That allowed me to figure out the problem.
The new libnspr4 added a new exported function, PR_GetEnvSecure():
$ nm -D /usr/lib/x86_64-linux-gnu/libnspr4.so | grep PR_GetEnvSecure
000000000001a3a0 T PR_GetEnvSecure
The new libnss3 depends on that new function:
$ nm -D /usr/lib/x86_64-linux-gnu/libnssutil3.so.1d | grep GetEnvSecure
U PR_GetEnvSecure
If you upgrade libnspr4 to the versions specified in this USN, you won't
experience this bug any longer:
http://www.ubuntu.com/usn/usn-3028-1/
I'm not sure how you kept the old libnspr4 but it looks like the new
libnss3 correctly depends on the new libnspr4:
$ apt-cache show libnss3=2:3.23-0ubuntu0.12.04.1 | grep ^Depends:
Depends: libc6 (>= 2.4), libnspr4 (>= 4.12), libsqlite3-0 (>= 3.5.9), zlib1g
(>= 1:1.1.4)
** Changed in: nss (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to nss in Ubuntu.
https://bugs.launchpad.net/bugs/1602680
Title:
ecryptfs not work with libnss3/libnss3-1d Version
2:3.23-0ubuntu0.12.04.1
Status in nss package in Ubuntu:
Invalid
Bug description:
After updating libnss3 and libnss3-1d from 2:3.21-0ubuntu0.12.04.3 to
2:3.23-0ubuntu0.12.04.1 last night it is not longer possible to mount
my home directory encrypted with ecryptfs.
Automatic by login or with ecryptfs-recover-private or else not work.
After downgrade to Version 2:3.21-0ubuntu0.12.04.3 if works fine.
syslog:
Jul 13 01:29:36 Michael-Thinkpad-X121e-SSD
ecryptfs-insert-wrapped-passphrase-into-keyring: do_hash: PK11_HashBuf() error;
SECFailure = [-1]; PORT_GetError() = [-8128]
Jul 13 01:29:36 Michael-Thinkpad-X121e-SSD
ecryptfs-insert-wrapped-passphrase-into-keyring: Error generating passphrase
signature; rc = [-22]
Jul 13 01:29:36 Michael-Thinkpad-X121e-SSD
ecryptfs-insert-wrapped-passphrase-into-keyring: Error attempting to unwrap
passphrase from file [/home/michael/.ecryptfs/wrapped-passphrase]; rc = [-22]
-----------------------------------------------------------------------------------------------------
lsb_release -rd
Description: Ubuntu 12.04.5 LTS
Release: 12.04
apt-cache policy libnss3 libnss3-1d after downgrade to previous
version
libnss3:
Installiert: 2:3.21-0ubuntu0.12.04.3
Kandidat: 2:3.23-0ubuntu0.12.04.1
Versionstabelle:
2:3.23-0ubuntu0.12.04.1 0
500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64
Packages
500 http://archive.ubuntu.com/ubuntu/ precise-security/main amd64
Packages
*** 2:3.21-0ubuntu0.12.04.3 0
100 /var/lib/dpkg/status
3.13.1.with.ckbi.1.88-1ubuntu6 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
libnss3-1d:
Installiert: 2:3.21-0ubuntu0.12.04.3
Kandidat: 2:3.23-0ubuntu0.12.04.1
Versionstabelle:
2:3.23-0ubuntu0.12.04.1 0
500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64
Packages
500 http://archive.ubuntu.com/ubuntu/ precise-security/main amd64
Packages
*** 2:3.21-0ubuntu0.12.04.3 0
100 /var/lib/dpkg/status
3.13.1.with.ckbi.1.88-1ubuntu6 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
I have marked the bug as security vulnerability because
I must use older version they be more unsafe than the new one to work
with my laptop.
Unfortunately I go to holiday tomorrow. I'll be back at next monday
18. July 2016
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss/+bug/1602680/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp