diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-12-15 18:07:20 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-12-15 22:20:54 +0100 |
commit | 0318d54539fe168822447889ac0e858a10c55f74 (patch) | |
tree | ae81bee8c7c2cff68e085bbebe07e24fe23bcac2 /man/systemd-pcrphase.service.xml | |
parent | test: show and check almost all journal entries since the relevant command be... (diff) | |
download | systemd-0318d54539fe168822447889ac0e858a10c55f74.tar.xz systemd-0318d54539fe168822447889ac0e858a10c55f74.zip |
pcrphase: gracefully exit if TPM2 support is incomplete
If everything points to the fact that TPM2 should work, but then the
driver fails to initialize we should handle this gracefully and not
cause failing services all over the place.
Fixes: #25700
Diffstat (limited to 'man/systemd-pcrphase.service.xml')
-rw-r--r-- | man/systemd-pcrphase.service.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/man/systemd-pcrphase.service.xml b/man/systemd-pcrphase.service.xml index 9eda503e4c..9b7cc80b3a 100644 --- a/man/systemd-pcrphase.service.xml +++ b/man/systemd-pcrphase.service.xml @@ -131,6 +131,14 @@ all suitable TPM2 devices currently discovered.</para></listitem> </varlistentry> + <varlistentry> + <term><option>--graceful</option></term> + + <listitem><para>If no TPM2 firmware, kernel subsystem, kernel driver or device support is found, exit + with exit status 0 (i.e. indicate success). If this is not specified any attempt to measure without a + TPM2 device will cause the invocation to fail.</para></listitem> + </varlistentry> + <xi:include href="standard-options.xml" xpointer="help" /> <xi:include href="standard-options.xml" xpointer="version" /> |