diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:42 +0000 |
commit | 78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch) | |
tree | f515d16b6efd858a9aeb5b0ef5d6f90bf288283d /man/systemd-tpm2-generator.xml | |
parent | Adding debian version 255.5-1. (diff) | |
download | systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip |
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/systemd-tpm2-generator.xml')
-rw-r--r-- | man/systemd-tpm2-generator.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/man/systemd-tpm2-generator.xml b/man/systemd-tpm2-generator.xml new file mode 100644 index 0000000..51950ee --- /dev/null +++ b/man/systemd-tpm2-generator.xml @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<!--*-nxml-*--> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ +<!ENTITY % entities SYSTEM "custom-entities.ent" > +%entities; +]> +<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> +<refentry id="systemd-tpm2-generator"> + + <refentryinfo> + <title>systemd-tpm2-generator</title> + <productname>systemd</productname> + </refentryinfo> + + <refmeta> + <refentrytitle>systemd-tpm2-generator</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <refnamediv> + <refname>systemd-tpm2-generator</refname> + <refpurpose>Generator for inserting TPM2 synchronization point in the boot process</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <para><filename>/usr/lib/systemd/system-generators/systemd-tpm2-generator</filename></para> + </refsynopsisdiv> + + <refsect1> + <title>Description</title> + + <para><filename>systemd-tpm2-generator</filename> is a generator that adds a <varname>Wants=</varname> + dependency from <filename>sysinit.target</filename> to <filename>tpm2.target</filename> when it detects + that the firmware discovered a TPM2 device but the OS kernel so far did + not. <filename>tpm2.target</filename> is supposed to act as synchronization point for all services that + require TPM2 device access. See + <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry> for + details.</para> + + <para>The <option>systemd.tpm2_wait=</option> kernel command line option may be used to override + behaviour of the generator. It accepts a boolean value: if true then <filename>tpm2.target</filename> + will be added as synchronization point even if the firmware has not detected a TPM2 device. If false, the + target will not be inserted even if firmware reported a device but the OS kernel doesn't expose a device + for it yet. The latter might be useful in environments where a suitable TPM2 driver for the available + hardware is not available.</para> + + <para><filename>systemd-tpm2-generator</filename> implements + <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para> + </refsect1> + + <refsect1> + <title>See Also</title> + <para><simplelist type="inline"> + <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> + <member><citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry></member> + <member><citerefentry><refentrytitle>kernel-command-line</refentrytitle><manvolnum>7</manvolnum></citerefentry></member> + </simplelist></para> + </refsect1> +</refentry> |