Files
systemd/src/shared
Alberto Planas 9bb8d8de9a tpm2-util: retry NvPCR initialization when PCR values keep changing
tpm2_nvpcr_initialize() already retries the initializing write when
tpm2_extend_nvpcr_nv_index() reports that PCR values changed under its
feet, which the comment there attributes to IMA measurements performed
by the kernel.  The policy session that write needs is opened in the
same loop, and a PCR extended while that policy is submitted makes
tpm2_policy_pcr() return -EUCLEAN, which was propagated as a hard
failure instead.

That is the same transient condition observed one step earlier, so let
the loop absorb it too.

Signed-off-by: Alberto Planas <aplanas@suse.com>
(cherry picked from commit f08bfdbf3d)
2026-10-16 11:36:32 +01:00
..
…
…
2026-07-15 12:12:40 +02:00
…
…
2026-07-15 12:12:40 +02:00
…
…
2026-07-18 04:56:32 +09:00
2026-08-18 06:30:10 +09:00
…
…
2026-08-28 14:50:10 +02:00
2026-07-18 04:56:32 +09:00
2026-08-13 13:21:28 -05:00
2026-07-16 19:21:48 +01:00
2026-07-18 04:56:32 +09:00
2026-07-01 14:36:45 +02:00
2026-08-18 06:30:10 +09:00
2026-05-18 21:42:56 +02:00
2026-08-28 14:50:10 +02:00
2026-08-28 14:50:10 +02:00
…
2026-09-07 19:08:35 +09:00
…