Package: libtss2-dev Version: 2.3.2-1 Severity: normal The existence of libtss2-tcti-default.so changes the default ordering of how TSS2 tries to find the TPM2 device. Without the -dev package installed everything is ok, but with it the symlink from default to device causes /dev/tpm0 to be tried first resulting in errors being output:
ERROR:tcti:src/tss2-tcti/tcti-device.c:439:Tss2_Tcti_Device_Init() Failed to open device file /dev/tpm0: Permission denied WARNING:tcti:src/tss2-tcti/tctildr.c:62:tcti_from_init() TCTI init for function 0x7efc49ceee00 failed with a000a WARNING:tcti:src/tss2-tcti/tctildr.c:92:tcti_from_info() Could not initialize TCTI named: tcti-device ERROR:tcti:src/tss2-tcti/tctildr-dl.c:150:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-default.so It does fall back to /dev/tpmrm0 after this, but it would be better not to output the errors/warnings at all. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.5.6 (SMP w/8 CPU cores) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libtss2-dev depends on: ii libgcrypt20-dev 1.8.5-3 ii libtss2-esys0 2.3.2-1 libtss2-dev recommends no packages. libtss2-dev suggests no packages. -- no debconf information