Removing libp11-kit-gnome-keyring causes errors in every application loading libp11-kit

Bug #1194664 reported by Anders Kaseorg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-keyring (Ubuntu)
New
Undecided
Unassigned

Bug Description

When libp11-kit-gnome-keyring is removed but not purged, the conffile /etc/pkcs11/modules/gnome-keyring.module stays around, which causes every application that loads libp11-kit to look for the now-nonexistent /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so and yell on stderr.

$ sudo apt-get remove libp11-kit-gnome-keyring

Removing libp11-kit-gnome-keyring:amd64 ...

$ cat /etc/pkcs11/modules/gnome-keyring.module

# The file is installed/loaded from the default module p11-kit directory
module: gnome-keyring-pkcs11.so

# And where to store and lookup trust objects
x-trust-store: pkcs11:library-manufacturer=GNOME%20Keyring;serial=1:XDG:DEFAULT
x-trust-lookup: pkcs11:library-manufacturer=GNOME%20Keyring
$ lpq
p11-kit: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory

See http://wiki.debian.org/DpkgConffileHandling.

(This is the real reason for the symptoms of bug 1157904, which was incorrectly fixed by adding a dependency on libp11-kit-gnome-keyring to cups.)

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libp11-kit-gnome-keyring:amd64 3.8.2-0ubuntu3
ProcVersionSignature: Ubuntu 3.9.0-6.14-generic 3.9.6
Uname: Linux 3.9.0-6-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.10.2-0ubuntu2
Architecture: amd64
Date: Tue Jun 25 17:28:59 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2010-12-05 (933 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
MarkForUpload: True
SourcePackage: gnome-keyring
UpgradeStatus: Upgraded to saucy on 2012-11-15 (222 days ago)

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Anders Kaseorg (andersk) wrote :

I would also like to point out that this is the *third time* that dpkg conffile stupidity has caused problems with *this same package* (bug 911436, bug 1038577). What the heck is /etc/pkcs11/modules doing in /etc, anyway?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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