summaryrefslogtreecommitdiffstats
path: root/units/systemd-tpm2-setup.service.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:15:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:15:54 +0000
commitb492568d6a2b0cda271f28bc61ebc31df8cef296 (patch)
tree59e1fe0085540c2dd20a2ffa171f0bb8c732f7d4 /units/systemd-tpm2-setup.service.in
parentAdding upstream version 256. (diff)
downloadsystemd-b492568d6a2b0cda271f28bc61ebc31df8cef296.tar.xz
systemd-b492568d6a2b0cda271f28bc61ebc31df8cef296.zip
Adding upstream version 256.1.upstream/256.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'units/systemd-tpm2-setup.service.in')
-rw-r--r--units/systemd-tpm2-setup.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/units/systemd-tpm2-setup.service.in b/units/systemd-tpm2-setup.service.in
index 0af7292..ac29a76 100644
--- a/units/systemd-tpm2-setup.service.in
+++ b/units/systemd-tpm2-setup.service.in
@@ -22,3 +22,6 @@ ConditionPathExists=!/etc/initrd-release
Type=oneshot
RemainAfterExit=yes
ExecStart={{LIBEXECDIR}}/systemd-tpm2-setup --graceful
+
+# The tool returns 76 if the TPM cannot be accessed due to an authorization failure and we can't generate an SRK.
+SuccessExitStatus=76