summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-12-15 18:07:20 +0100
committerLennart Poettering <lennart@poettering.net>2022-12-15 22:20:54 +0100
commit0318d54539fe168822447889ac0e858a10c55f74 (patch)
treeae81bee8c7c2cff68e085bbebe07e24fe23bcac2 /man
parentad48ff12bd0f7b19dc6bfa33c96221fd9c22e89c (diff)
downloadsystemd-0318d54539fe168822447889ac0e858a10c55f74.tar.gz
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')
-rw-r--r--man/systemd-pcrphase.service.xml8
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" />