Your message dated Tue, 10 Nov 2026 14:36:46 +0000 (UTC)
with message-id <[email protected]>
and subject line Re: pkcs11-daemon: the default PKCS11_LIB names libsofthsm2, 
which is not a dependency
has caused the Debian Bug report #1152864,
regarding pkcs11-daemon: the default PKCS11_LIB names libsofthsm2, which is not 
a dependency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1152864: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152864
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pkcs11-daemon
Version: 0.4.1-5
Severity: important
Tags: patch

Dear Maintainer,

pkcs11-daemon 0.4.1-5 ships /etc/default/pkcs11-daemon with 
PKCS11_LIB=/usr/lib/softhsm/libsofthsm2.so.
The package depends only on libc6 and libssl3t64, so on a system without 
libsofthsm2 the daemon stops with "couldn't open library" and 
pkcs11-daemon.service ends in start-limit-hit.
Installing libsofthsm2 makes it start with the default configuration.

The fix is one line in debian/control, since the shipped default names that 
library:

--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,7 @@
 
 Package: pkcs11-daemon
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, libsofthsm2
 Description: proxy for the PKCS11-library (server)
  This project is based on a stripped down GNOME Keyring without all GNOME
  dependencies and other features.

I found this with AI assistance and checked it myself on Debian forky.

Daniel Ramos


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.0-stereo3d13 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages pkcs11-daemon depends on:
ii  libc6       2.43-7
ii  libssl3t64  3.6.5-1

pkcs11-daemon recommends no packages.

pkcs11-daemon suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---

Hi Daniel,

thanks for your contribution.

The file /etc/default/pkcs11-daemon is a configuration file that you need to adapt for your installation. Adding a dummy lib would make the freshly installed software unusable on every installation. Adding libsofthsm2.so makes it at least usable on the majority of installations. Those installations already have package libsofthsm2 installed. The rest of the installations would have to put a different library into /etc/default/pkcs11-daemon and a hard dependency on libsofthsm2 would be totally wrong here.

So, this is not a bug but a feature.

  Thorsten

--- End Message ---

Reply via email to