summaryrefslogtreecommitdiff
path: root/units/systemd-pcrphase-sysinit.service.in
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 /units/systemd-pcrphase-sysinit.service.in
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 'units/systemd-pcrphase-sysinit.service.in')
-rw-r--r--units/systemd-pcrphase-sysinit.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-pcrphase-sysinit.service.in b/units/systemd-pcrphase-sysinit.service.in
index 6b5ba7d878..a22fbbe935 100644
--- a/units/systemd-pcrphase-sysinit.service.in
+++ b/units/systemd-pcrphase-sysinit.service.in
@@ -21,5 +21,5 @@ ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-4
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart={{ROOTLIBEXECDIR}}/systemd-pcrphase sysinit
-ExecStop={{ROOTLIBEXECDIR}}/systemd-pcrphase final
+ExecStart={{ROOTLIBEXECDIR}}/systemd-pcrphase --graceful sysinit
+ExecStop={{ROOTLIBEXECDIR}}/systemd-pcrphase --graceful final