FS#76532 - [tpm2-abrmd] Boot Hang due to systemd-pcrphase

Attached to Project: Community Packages
Opened by Phillip Schichtel (pschichtel) - Friday, 11 November 2022, 19:47 GMT
Last edited by Toolybird (Toolybird) - Sunday, 13 November 2022, 06:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Boot hangs on job "tpm2 barrier (initialization)" while calling systemd-pcrphase. Apparently it tries to access tpm2-abrmd, if it is installed. However at this point in time, the abrmd service is not available yet. Combined with the lack of timeout of the pcrphase job hangs the boot process forever.


Additional info:
* package version(s): 2.4.1-1
* config and/or log files etc.
* link to upstream bug report, if any: similar report: https://groups.google.com/g/linux.debian.bugs.dist/c/OWBHw40g6Vk

Steps to reproduce:
* install tpm2-abrmd
* install latest systemd with systemd-pcrphase
* try to boot
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 13 November 2022, 06:53 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#76527 
Comment by Tab Fitts (tfitts) - Saturday, 12 November 2022, 23:57 GMT
I can reproduce this issue, but maybe it would be better suited to be reported as a bug of systemd? As you said, it's trying to access tpm2-abrmd, which has not yet been initialized, so the failure is secondary to the service that's trying to access it.

Loading...