Package: libtss2-sys1 Version: 3.1.0-3 Severity: normal Hi,
$ systemctl status tpm2-abrmd.service ● tpm2-abrmd.service - TPM2 Access Broker and Resource Management Daemon Loaded: loaded (/lib/systemd/system/tpm2-abrmd.service; enabled; vendor preset: enabled) Active: inactive (dead) Oct 08 06:02:07 twister systemd[1]: Dependency failed for TPM2 Access Broker and Resource Management Daemon. Oct 08 06:02:07 twister systemd[1]: tpm2-abrmd.service: Job tpm2-abrmd.service/start failed with result 'dependency'. Oct 08 09:03:56 twister systemd[1]: Dependency failed for TPM2 Access Broker and Resource Management Daemon. Oct 08 09:03:56 twister systemd[1]: tpm2-abrmd.service: Job tpm2-abrmd.service/start failed with result 'dependency'. Which is caused by: $ systemctl status dev-tpm0.device ● dev-tpm0.device - /dev/tpm0 Loaded: loaded Active: inactive (dead) Oct 08 06:02:07 twister systemd[1]: dev-tpm0.device: Job dev-tpm0.device/start timed out. Oct 08 06:02:07 twister systemd[1]: Timed out waiting for device /dev/tpm0. Oct 08 06:02:07 twister systemd[1]: dev-tpm0.device: Job dev-tpm0.device/start failed with result 'timeout'. Oct 08 09:03:56 twister systemd[1]: dev-tpm0.device: Job dev-tpm0.device/start timed out. Oct 08 09:03:56 twister systemd[1]: Timed out waiting for device /dev/tpm0. Oct 08 09:03:56 twister systemd[1]: dev-tpm0.device: Job dev-tpm0.device/start failed with result 'timeout'. ... which in turn is caused by libtss2-sys1 depending on tpm-udev, but the UDEV rule in tpm-udev is outdated: $ diff -u /lib/udev/rules.d/60-tpm-udev.rules /tmp/t/tpm2-tss-3.1.0/dist/tpm-udev.rules --- /lib/udev/rules.d/60-tpm-udev.rules 2020-11-30 15:30:36.000000000 +0100 +++ /tmp/t/tpm2-tss-3.1.0/dist/tpm-udev.rules 2021-05-17 20:42:55.000000000 +0200 @@ -1,4 +1,4 @@ # tpm devices can only be accessed by the tss user but the tss # group members can access tpmrm devices -KERNEL=="tpm[0-9]*", MODE="0660", OWNER="tss" -KERNEL=="tpmrm[0-9]*", MODE="0660", OWNER="tss", GROUP="tss" +KERNEL=="tpm[0-9]*", TAG+="systemd", MODE="0660", OWNER="tss" +KERNEL=="tpmrm[0-9]*", TAG+="systemd", MODE="0660", OWNER="tss", GROUP="tss" tpm-udev needs to be updated, and libtss2-sys1 needs a versioned dependency on the fixed version. I wonder if tpm-udev should be built from the tpm2-tss source package to ensure the udev rule does not get out of date. Regards, Gabor -- System Information: Debian Release: bookworm/sid APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'stable-security'), (103, 'testing'), (102, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.14.9 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libtss2-sys1 depends on: ii libc6 2.32-4 ii libtss2-mu0 3.1.0-3 ii tpm-udev 0.5 libtss2-sys1 recommends no packages. libtss2-sys1 suggests no packages. -- no debconf information