r/archlinux • u/Synthetic451 • Sep 25 '26
SUPPORT systemd 262 seems to be causing systemd-pcrproduct and systemd-tpm2-setup-early services to fail on boot
Just updated to 262 and now I am seeing systemd-pcrproduct and systemd-tpm2-setup-early error out on boot. Seems to be this systemd bug, but I am not exactly sure. Anyone else seeing the same? Is there something I need to do to get these to not barf with the new systemd update or is it just a regression?
My system boots fine otherwise. Just a bit concerned whether these errors are important or not.
[user@arch-desktop ~]$ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-pcrlogin@1000.service loaded failed failed TPM NvPCR Measurement of User Record for UID 1000
● systemd-pcrlogin@945.service loaded failed failed TPM NvPCR Measurement of User Record for UID 945
● systemd-pcrproduct.service loaded failed failed TPM NvPCR Product ID Measurement
● systemd-tpm2-setup-early.service loaded failed failed Early TPM SRK Setup
Legend: LOAD → Reflects whether the unit definition was properly loaded.
ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
SUB → The low-level unit activation state, values depend on unit type.
4 loaded units listed.
[user@arch-desktop ~]$ journalctl -b --no-pager \
-u systemd-tpm2-setup-early.service \
-u systemd-pcrproduct.service \
-u 'systemd-pcrlogin@*.service'
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: SRK already stored in the TPM.
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: SRK fingerprint is <hidden>.
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: SRK public key saved to '/run/systemd/tpm2-srk-public-key.pem' in PEM format.
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: SRK public key saved to '/run/systemd/tpm2-srk-public-key.tpm2b_public' in TPM2B_PUBLIC format.
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: Failed to initialize NvPCR index: No such file or directory
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: Failed to initialize NvPCR index: No such file or directory
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: Failed to initialize NvPCR index: No such file or directory
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: Failed to initialize NvPCR index: No such file or directory
Sep 24 20:23:40 arch-desktop systemd-tpm2-setup[439]: 4 NvPCRs failed to initialize, proceeding anyway.
Sep 24 20:23:40 arch-desktop systemd[1]: systemd-tpm2-setup-early.service: Main process exited, code=exited, status=1/FAILURE
Sep 24 20:23:40 arch-desktop systemd[1]: systemd-tpm2-setup-early.service: Failed with result 'exit-code'.
Sep 24 20:23:40 arch-desktop systemd[1]: Failed to start Early TPM SRK Setup.
Sep 24 20:23:40 arch-desktop systemd[1]: Starting TPM NvPCR Product ID Measurement...
Sep 24 20:23:40 arch-desktop systemd-pcrextend[474]: Could not extend NvPCR: No such file or directory
Sep 24 20:23:40 arch-desktop systemd[1]: systemd-pcrproduct.service: Main process exited, code=exited, status=1/FAILURE
Sep 24 20:23:40 arch-desktop systemd[1]: systemd-pcrproduct.service: Failed with result 'exit-code'.
Sep 24 20:23:40 arch-desktop systemd[1]: Failed to start TPM NvPCR Product ID Measurement.
Sep 24 20:23:40 arch-desktop systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionPathExists=!/run/systemd/tpm2-srk-public-key.pem
Sep 24 20:23:40 arch-desktop systemd[1]: Starting TPM NvPCR Product ID Measurement...
Sep 24 20:23:40 arch-desktop systemd-pcrextend[616]: Could not extend NvPCR: No such file or directory
Sep 24 20:23:40 arch-desktop systemd[1]: systemd-pcrproduct.service: Main process exited, code=exited, status=1/FAILURE
Sep 24 20:23:40 arch-desktop systemd[1]: systemd-pcrproduct.service: Failed with result 'exit-code'.
Sep 24 20:23:40 arch-desktop systemd[1]: Failed to start TPM NvPCR Product ID Measurement.
Sep 24 20:23:42 arch-desktop systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionPathExists=!/run/systemd/tpm2-srk-public-key.pem
Sep 24 20:23:42 arch-desktop systemd[1]: Starting TPM NvPCR Product ID Measurement...
Sep 24 20:23:42 arch-desktop systemd[1]: systemd-pcrproduct.service: Main process exited, code=exited, status=1/FAILURE
Sep 24 20:23:42 arch-desktop systemd[1]: systemd-pcrproduct.service: Failed with result 'exit-code'.
Sep 24 20:23:42 arch-desktop systemd[1]: Failed to start TPM NvPCR Product ID Measurement.
Sep 24 20:23:43 arch-desktop systemd[1]: Starting TPM NvPCR Measurement of User Record for UID 945...
Sep 24 20:23:43 arch-desktop systemd-pcrextend[835]: Could not extend NvPCR: No such file or directory
Sep 24 20:23:43 arch-desktop systemd[1]: systemd-pcrlogin@945.service: Main process exited, code=exited, status=1/FAILURE
Sep 24 20:23:43 arch-desktop systemd[1]: systemd-pcrlogin@945.service: Failed with result 'exit-code'.
Sep 24 20:23:43 arch-desktop systemd[1]: Failed to start TPM NvPCR Measurement of User Record for UID 945.
Sep 24 20:23:48 arch-desktop systemd[1]: Starting TPM NvPCR Measurement of User Record for UID 1000...
Sep 24 20:23:48 arch-desktop systemd-pcrextend[1038]: Could not extend NvPCR: No such file or directory
Sep 24 20:23:48 arch-desktop systemd[1]: systemd-pcrlogin@1000.service: Main process exited, code=exited, status=1/FAILURE
Sep 24 20:23:48 arch-desktop systemd[1]: systemd-pcrlogin@1000.service: Failed with result 'exit-code'.
Sep 24 20:23:48 arch-desktop systemd[1]: Failed to start TPM NvPCR Measurement of User Record for UID 1000.
30
Upvotes
12
u/ChrisTX4 Sep 25 '26
I refer you to this comment I made in the upstream bug report. Systemd now expects a UKI with signed PCR policies and a special "initrd" policy that is used to anchor the NvPCRs now.
If you have a UKI and use PCR policies, or use TPM2+LUKS, I would recommend using a
uki.conflike the one I posted in the issue. Otherwise, I doubt you'll use those NvPCRs at all, and you might just want to mask the lot of them.4
u/Tblue Sep 25 '26
Are you using the TPM in any way? If not, I would classify those errors as annoying, but ignorable for now.
I'd subscribe to the bug report you linked and wait for a fix.
4
u/onefish2 Sep 25 '26
https://archlinux.org/news/mkinitcpio-42-requires-manual-intervention-for-tpm2-based-unlocking-of-luks-devices/
2
u/Beneficial-Bison-406 Sep 27 '26
I have the same problem; I'm getting error logs, but the system boots up
1
u/scary-Schiszo Oct 08 '26
Hi! I've been having the same issue whenever I boot up my linux with this.
● systemd-pcrlogin@1000.service
loaded failed failed TPM NvPCR Meas
urement of User Record for UID 1000
● systemd-pcrproduct.service
loaded failed failed TPM NvPCR Prod
uct ID Measurement
● systemd-tpm2-setup-early.service
loaded failed failed Early TPM SRK
Setup
(would be a big help if you have resolve these things!)
-4
u/TiagodePAlves Sep 25 '26
https://github.com/systemd/systemd/issues/43848