Request to backport systemd TPM fix to 22.04

Asked by Tre Klaus

I am using 22.04 and am hitting a bug accessing the TPM during start-up to decrypt a LUKS encrypted drive (data drive, not system drive). The problem only happens with the HWE kernel and only occurs 8 out of 10 times. 2 out of 10 times the system boots correctly. When using the non HWE kernel it works 10 out of 10 times.

The problem is discussed here - https://github.com/systemd/systemd/issues/24906 . This also discusses that people get different results with different kernels.

I'll not go into too much detail as this problem is already resolved in newer versions of systemd.

The fix for this problem was merged into Ubuntu's systemd 252.3-1.

https://git.launchpad.net/ubuntu/+source/systemd/commit/src/shared/tpm2-util.c?h=ubuntu/lunar&id=28f8a776415a01cacec747d831f057d3f8b9f01b

Can this fix be made available to 22.04 - systemd 249.11?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu systemd Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I suggest that you create a bug report, describing the problem and with a link to the proposed fix.

Can you help with this problem?

Provide an answer of your own, or ask Tre Klaus for more information if necessary.

To post a message you must log in.