Package: softhsm2 Version: 2.2.0-3~bpo8+1 Severity: normal Tags: patch Dear Maintainer,
The package softhsm2 does not create the directory "tokens" in "/var/lib/softhsm". Soi, just after the installation, I get: $ softhsm2-util --init-token ERROR: Could not initialize the library. and: $ strace softhsm2-util --init-token [...] openat(AT_FDCWD, "/var/lib/softhsm/tokens/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [...] $ dpkg -L softhsm2 /. /var /var/lib /var/lib/softhsm /usr [...] A simple: $ mkdir /var/lib/softhsm/tokens solved the problem. Please include an empty directory "/var/lib/softhsm/tokens" in the package. Bye -- System Information: Debian Release: 8.8 APT prefers stable APT policy: (990, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages softhsm2 depends on: ii libc6 2.19-18+deb8u9 ii libgcc1 1:4.9.2-10 ii libsofthsm2 2.2.0-3~bpo8+1 ii libsqlite3-0 3.8.7.1-1+deb8u2 ii libssl1.0.0 1.0.1t-1+deb8u6 ii libstdc++6 4.9.2-10 ii softhsm2-common 2.2.0-3~bpo8+1 softhsm2 recommends no packages. softhsm2 suggests no packages. -- no debconf information