Slow boot due to /dev/tpm-rm0.device

I have a Laptop without a dedicated TPM. Yeah that sucks, but I didnt notice it back then.

Only a firmware TPM as available, embedded in the Intel ME. I have disabled the ME with a BIOS setting (the NSA forced Intel to implement a switch to turn it off, the BIOS sets a single but to do that).

So my device does not have a TPM.

I am on Fedora Kinoite 41, and since the rebase to f41, the boot is slowed down by a service (?) called /dev/tpm-rm0.device/start

It seems to wait until it errors out. I guess I need to disable it, how can I do that?

https://bbs.archlinux.org/viewtopic.php?id=296699

This command didn’t solve it for me, still times out after 45s.

systemctl --system mask tpm2.target

This one seems to reduce the timeout, but it is still there.

systemctl mask dev-tpmrm0.device

I will try masking both, so that the service doesn’t run and the target doesn’t wait?

I had the same problem. When it first appeared, setting mask worked, but that didn’t last. See man 8 systemd-tpm2-generator for kernel command-line options to manage missing or unsupported TPM hardware.

1 Like

Thanks!

So on Atomic Desktops

rpm-ostree kargs --append-if-missing=systemd.tpm2_wait=false