Service sdbootutil-update-predictions.service don't start

Hi,

I recently noticed that the service “sdbootutil-update-predictions.service” doesn’t start.

> sudo systemctl status sdbootutil-update-predictions.service                                                                                                                                                        ~@ZenbookOpenSUSE
× sdbootutil-update-predictions.service - Update TPM predictions
     Loaded: loaded (/usr/lib/systemd/system/sdbootutil-update-predictions.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Wed 2026-10-28 08:30:41 CET; 1s ago
   Duration: 5.702s
 Invocation: d00437cbcbcd4e959044893019fc352f
    Process: 52249 ExecCondition=/usr/bin/sh -c "[ -e /etc/crypttab ] && grep -q tpm2-device /etc/crypttab" (code=exited, status=0/SUCCESS)
    Process: 52252 ExecStartPre=/usr/bin/sh -c "mkdir -p \"/tmp/\$INVOCATION_ID\"; [ ! -d /var/lib/pcrlock.d ] || cp -a /var/lib/pcrlock.d \"/tmp/\$INVOCATION_ID/pcrlock.d\"" (code=exited, status=0/SUCCESS)
    Process: 52256 ExecStart=/usr/bin/sh -c "     systemctl --quiet is-active sdbootutil-update-predictions-shutdown.service && systemctl stop sdbootutil-update-predictions-shutdown.service;      while true; do          rm -f /run>
    Process: 52620 ExecStopPost=/usr/bin/sh -c "     if [ \"\$SERVICE_RESULT\" != \"success\" ] && [ \"\$SERVICE_RESULT\" != \"exec-condition\" ]; then          if [ -d \"/tmp/\$INVOCATION_ID/pcrlock.d\" ]; then              echo >
   Main PID: 52256 (code=exited, status=1/FAILURE)
        CPU: 4.309s

Okt 28 08:30:41 ZenbookOpenSUSE sh[52266]: WARNING: The TPM2 policy cannot be re-authorized: PCR 4,8 moved. No recovery PIN was available, so every new run fails the same way
Okt 28 08:30:41 ZenbookOpenSUSE sh[52266]: WARNING: PCR 4 measures the boot loader binaries. A shim, systemd-boot or GRUB2 update moves it, and so does booting another entry
Okt 28 08:30:41 ZenbookOpenSUSE sh[52266]: WARNING: PCR 8 measures the GRUB2 commands. Editing the command line or the GRUB2 configuration moves it
Okt 28 08:30:41 ZenbookOpenSUSE sh[52266]: WARNING: If you made no such change, the boot path was altered. Both fixes below trust the current state, so explain it first
Okt 28 08:30:41 ZenbookOpenSUSE sh[52266]: WARNING: With the recovery PIN: re-run with --ask-recovery-pin (or RECOVERY_PIN=...)
Okt 28 08:30:41 ZenbookOpenSUSE sh[52266]: WARNING: Without it: check that a password opens the devices, then 'sdbootutil unenroll --method=tpm2+pin' and 'sdbootutil enroll --method=tpm2+pin --ask-recovery-pin'
Okt 28 08:30:41 ZenbookOpenSUSE systemd[1]: sdbootutil-update-predictions.service: Main process exited, code=exited, status=1/FAILURE
Okt 28 08:30:41 ZenbookOpenSUSE sh[52620]: Command failed. Reason: exit-code (Status: 1). Restoring backup...
Okt 28 08:30:41 ZenbookOpenSUSE systemd[1]: sdbootutil-update-predictions.service: Failed with result 'exit-code'.
Okt 28 08:30:41 ZenbookOpenSUSE systemd[1]: sdbootutil-update-predictions.service: Consumed 4.309s CPU time over 5.923s wall clock time.

Maybe it is also related to this problem: TPM2 error using sudo zypper dup

I get the following error and warnings after a recent kernel update (not the last one, I guess):

WARNING: Component 240-secureboot-policy cannot be found in the event log, PCR 7 cannot be predicted
WARNING: Component 643-grub2-bls-entry-files cannot be found in the event log, PCR 9 cannot be predicted
WARNING: PCRs 7,9 dropped from the policy (component mapping)
WARNING: Error creating the systemd-pcrlock policy!
WARNING:esys:src/tss2-esys/api/Esys_PolicyOR.c:286:Esys_PolicyOR_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_PolicyOR.c:100:Esys_PolicyOR() Esys Finish ErrorCode (0x000001c4) 
None of the alternative values for PCR 4 encoded in policy match the current TPM state. Either the system has been tampered with or the provided policy is incorrect.
WARNING: The TPM2 policy cannot be re-authorized: PCR 4,8 moved. No recovery PIN was available, so every new run fails the same way
WARNING: PCR 4 measures the boot loader binaries. A shim, systemd-boot or GRUB2 update moves it, and so does booting another entry
WARNING: PCR 8 measures the GRUB2 commands. Editing the command line or the GRUB2 configuration moves it
WARNING: If you made no such change, the boot path was altered. Both fixes below trust the current state, so explain it first
WARNING: With the recovery PIN: re-run with --ask-recovery-pin (or RECOVERY_PIN=...)
WARNING: Without it: check that a password opens the devices, then 'sdbootutil unenroll --method=tpm2+pin' and 'sdbootutil enroll --method=tpm2+pin --ask-recovery-pin'
WARNING: Component 240-secureboot-policy cannot be found in the event log, PCR 7 cannot be predicted
WARNING: Component 643-grub2-bls-entry-files cannot be found in the event log, PCR 9 cannot be predicted
WARNING: PCRs 7,9 dropped from the policy (component mapping)
WARNING: Error creating the systemd-pcrlock policy!
WARNING:esys:src/tss2-esys/api/Esys_PolicyOR.c:286:Esys_PolicyOR_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_PolicyOR.c:100:Esys_PolicyOR() Esys Finish ErrorCode (0x000001c4) 
None of the alternative values for PCR 4 encoded in policy match the current TPM state. Either the system has been tampered with or the provided policy is incorrect.
WARNING: The TPM2 policy cannot be re-authorized: PCR 4,8 moved. No recovery PIN was available, so every new run fails the same way
WARNING: PCR 4 measures the boot loader binaries. A shim, systemd-boot or GRUB2 update moves it, and so does booting another entry
WARNING: PCR 8 measures the GRUB2 commands. Editing the command line or the GRUB2 configuration moves it
WARNING: If you made no such change, the boot path was altered. Both fixes below trust the current state, so explain it first
WARNING: With the recovery PIN: re-run with --ask-recovery-pin (or RECOVERY_PIN=...)
WARNING: Without it: check that a password opens the devices, then 'sdbootutil unenroll --method=tpm2+pin' and 'sdbootutil enroll --method=tpm2+pin --ask-recovery-pin'
CA enrolled. Skip /etc/uefi/certs/F8CEAA94.crt

I noticed no problems during normal usage.

Best regards
Kay

Hi Kay,

I also think it might be related. Further investigation on my side also showed this service not functioning.

I’ve posted some info in my bug report: https://bugzilla.suse.com/show_bug.cgi?id=1282849

1 Like

My issue was fixed by running sudo sdbootutil --ask-recovery-pin update-predictions as is mentioned in the bug report.

I am however no closer to determining what caused my issue.

Thanks, I run this command too. It fixed my issue too.

Can you mark this tread solved? Thanks!

I don’t know how to mark the thread as solved. I marked your answer as solution. Is that correct?

I also want to wait for the next kernel update.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.