]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: retitle systemd-pcrextend.{service,socket}, change TPM2→TPM
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Mar 2024 21:18:13 +0000 (22:18 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 14 Mar 2024 09:26:45 +0000 (10:26 +0100)
I was looking at the logs in some bug and saw this:

Mar 13 15:55:12 fedora systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
Mar 13 15:55:12 fedora systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
Mar 13 15:55:12 fedora systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Setup (Early) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).

This is overly technical, for most units we don't provide this level of
detail about the implementation. So retitle the units to be more accessible.

Also, the fact that it's a v. 2 of the TPM is not that important. We don't
support TPM 1.2, but computers without TPM v2 are getting rare. For other
units we don't advertise the version of hardware, and let's not do this here,
to reduce some complexity.

19 files changed:
units/systemd-pcrextend.socket
units/systemd-pcrextend@.service.in
units/systemd-pcrfs-root.service.in
units/systemd-pcrfs@.service.in
units/systemd-pcrlock-file-system.service.in
units/systemd-pcrlock-firmware-code.service.in
units/systemd-pcrlock-firmware-config.service.in
units/systemd-pcrlock-machine-id.service.in
units/systemd-pcrlock-make-policy.service.in
units/systemd-pcrlock-secureboot-authority.service.in
units/systemd-pcrlock-secureboot-policy.service.in
units/systemd-pcrlock.socket
units/systemd-pcrlock@.service.in
units/systemd-pcrmachine.service.in
units/systemd-pcrphase-initrd.service.in
units/systemd-pcrphase-sysinit.service.in
units/systemd-pcrphase.service.in
units/systemd-tpm2-setup-early.service.in
units/systemd-tpm2-setup.service.in

index 41db50acd881bf3fe5f502a0efea2705cb971752..4f7474812544024308fb8696e628e670cc8b0288 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 PCR Extension (Varlink)
+Description=TPM PCR Measurements
 Documentation=man:systemd-pcrextend(8)
 DefaultDependencies=no
 After=tpm2.target
index 6020a21c40c7d04882068e13bd9343b825e2fcbc..68b71d40687e09363dc143f0a9118f07fe25f5ec 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 PCR Extension (Varlink)
+Description=TPM PCR Measurements
 Documentation=man:systemd-pcrphase.service(8)
 DefaultDependencies=no
 After=tpm2.target
index 582e1d83e505e609d74a30401ebe5383fdc0c2cc..5b40a91ca649e3d0d95a4e5f26af9893e68a8723 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 PCR Root File System Measurement
+Description=TPM PCR Root File System Measurement
 Documentation=man:systemd-pcrfs-root.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index 262a82fb04ce41134a9f5702f1fc63b5d90578db..203d7b9782e1a3fb95d77ec21328d819734b60f8 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 PCR File System Measurement of %f
+Description=TPM PCR File System Measurement of %f
 Documentation=man:systemd-pcrfs@.service(8)
 DefaultDependencies=no
 BindsTo=%i.mount
index dd0d358793fa88d8b991deb3d18b1dc5a5c00cf7..807ebc29f26ba277701159dbae08af8685a9ad52 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Lock File Systems to TPM2 PCR Policy
+Description=Lock File Systems to TPM PCR Policy
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index b2716713939306631b763ca25d01220331b52429..cae8179bbfcc63747c41a70ae8f10bfc83f69487 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Lock Firmware Code to TPM2 PCR Policy
+Description=Lock Firmware Code to TPM PCR Policy
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index 8440f5982b9c86368c3f80768121cef330f9ba71..74845044a2a75cdea3a42dc70c22080228a93a95 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Lock Firmware Configuration to TPM2 PCR Policy
+Description=Lock Firmware Configuration to TPM PCR Policy
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index 16c6a99251f983a03a9c10c07b6265eefe4e89f1..c82c358149a80fa4176bb029bb2726c48b00a1d9 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Lock Machine ID to TPM2 PCR Policy
+Description=Lock Machine ID to TPM PCR Policy
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index 444e1e49f11c10b8d2141cbfe7d8b6e111a9c767..4dd18ec0097abab42f1775369e1ce872628500ed 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Make TPM2 PCR Policy
+Description=Make TPM PCR Policy
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index d5c722cf311880504172d02299004e1e28742a3b..9f6c1a4ef42778d41939abb4a37081cdd3838678 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Lock UEFI SecureBoot Authority to TPM2 PCR Policy
+Description=Lock UEFI SecureBoot Authority to TPM PCR Policy
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index fc50e17aaa5006fc99dfaa0a7938f0bc3c52f4d7..0975aca5a268baff467800f485791fd6534479d2 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Lock UEFI SecureBoot Policy to TPM2 PCR Policy
+Description=Lock UEFI SecureBoot Policy to TPM PCR Policy
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index 21431478b88bef3094570579aa4cd5162a63145d..4fbe2a5f2423837fb91807997c6a1dfe7b1f5024 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Make TPM2 PCR Policy (Varlink)
+Description=Make TPM PCR Policy (Varlink)
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 After=tpm2.target
index 50a0a3de8eb731c562a15c2966ac6b2cfacc0e17..5ee567ce5a8588362f25bb78a94cb1cadc018380 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Make TPM2 PCR Policy (Varlink)
+Description=Make TPM PCR Policy (Varlink)
 Documentation=man:systemd-pcrlock(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index cbd1005104f2f26bcfe24602c2769f30baf884a2..65caf2ed49280af18bc4b5d1dd11704c0ad21a29 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 PCR Machine ID Measurement
+Description=TPM PCR Machine ID Measurement
 Documentation=man:systemd-pcrmachine.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index 3b18b4f29d60c39f81176dd780e9b88683cb5356..6fcf94de76c5f2754d8ea584323147acf8a7dd99 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 PCR Barrier (initrd)
+Description=TPM PCR Barrier (initrd)
 Documentation=man:systemd-pcrphase-initrd.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target initrd-switch-root.target
index d938e02401bb70ae457087547eb7ec9afc46e731..8c0c0c82a2c7b26c8750e6cf9b64d3a4914dc561 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 PCR Barrier (Initialization)
+Description=TPM PCR Barrier (Initialization)
 Documentation=man:systemd-pcrphase-sysinit.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index 26b9e5c5389114cb26f1cadb20a448d90d1459c0..04ace12e14d4eecfbfd9461e5d947c4178b18b70 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 PCR Barrier (User)
+Description=TPM PCR Barrier (User)
 Documentation=man:systemd-pcrphase.service(8)
 After=remote-fs.target remote-cryptsetup.target tpm2.target
 Before=systemd-user-sessions.service
index 628f8166782b8d0845979928a236c12d8b851a54..2b0f8979ac31f63efaf69c70a5763851cf1f33cd 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 SRK Setup (Early)
+Description=Early TPM SRK Setup
 Documentation=man:systemd-tpm2-setup.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
index 4830afa24356c8e5300f1e9ec074ac87ed38d1a6..cf34d9ab669da38c59575ee17732a0a3ca7a10e7 100644 (file)
@@ -8,7 +8,7 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=TPM2 SRK Setup
+Description=TPM SRK Setup
 Documentation=man:systemd-tpm2-setup.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target