diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-09-29 11:59:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-09-29 14:35:56 +0200 |
commit | 9551aa707d464335a801719ed72701a79e8106fd (patch) | |
tree | bdd62bc69d48c9efdb9b63d77c06de5bf2ba8ff9 /man/systemd-pcrphase.service.xml | |
parent | Merge pull request #29193 from keszybz/path-util-adjustment (diff) | |
download | systemd-9551aa707d464335a801719ed72701a79e8106fd.tar.xz systemd-9551aa707d464335a801719ed72701a79e8106fd.zip |
tpm2: move measurement log to /run/log/ (from /var/log/)
I have no idea what went on in my mind when I used a path in /var/ for
the tpm2 event log we now keep for userspace measurements. The
measurements are only valid for the current boot, hence should not be
persisted (in particular as they cannot be rotated, hence should not
grow without bounds).
Fix that, simply move from /var/log/ to /run/log/.
Diffstat (limited to 'man/systemd-pcrphase.service.xml')
-rw-r--r-- | man/systemd-pcrphase.service.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/systemd-pcrphase.service.xml b/man/systemd-pcrphase.service.xml index fe7b58933b..ca037584cf 100644 --- a/man/systemd-pcrphase.service.xml +++ b/man/systemd-pcrphase.service.xml @@ -209,10 +209,10 @@ <variablelist> <varlistentry> - <term><filename>/var/log/systemd/tpm2-measure.log</filename></term> + <term><filename>/run/log/systemd/tpm2-measure.log</filename></term> <listitem><para>Measurements are logged into an event log file maintained in - <filename>/var/log/systemd/tpm2-measure.log</filename>, which contains a <ulink + <filename>/run/log/systemd/tpm2-measure.log</filename>, which contains a <ulink url="https://www.rfc-editor.org/rfc/rfc7464.html">JSON-SEQ</ulink> series of objects that follow the general structure of the <ulink url="https://trustedcomputinggroup.org/resource/canonical-event-log-format/">TCG Common Event Log |