summaryrefslogtreecommitdiffstats
path: root/units/systemd-pcrlock-firmware-config.service.in
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-01-26 11:29:35 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-01-26 22:15:59 +0100
commit09e69217581f3eed821926c591dc2e6cec5ec036 (patch)
tree829e27ed82ab9059c6c5cf4f9900ed8b69b708bb /units/systemd-pcrlock-firmware-config.service.in
parenttimesyncd: make the transmit timestamp in requests fully random (diff)
downloadsystemd-09e69217581f3eed821926c591dc2e6cec5ec036.tar.xz
systemd-09e69217581f3eed821926c591dc2e6cec5ec036.zip
units: Order pcrlock services after systemd-remounts-fs.service
These write to /var and as such need to wait until after the rootfs has been remounted read-write.
Diffstat (limited to 'units/systemd-pcrlock-firmware-config.service.in')
-rw-r--r--units/systemd-pcrlock-firmware-config.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-pcrlock-firmware-config.service.in b/units/systemd-pcrlock-firmware-config.service.in
index 64e63f86a6..8440f5982b 100644
--- a/units/systemd-pcrlock-firmware-config.service.in
+++ b/units/systemd-pcrlock-firmware-config.service.in
@@ -12,7 +12,7 @@ Description=Lock Firmware Configuration to TPM2 PCR Policy
Documentation=man:systemd-pcrlock(8)
DefaultDependencies=no
Conflicts=shutdown.target
-After=systemd-tpm2-setup.service
+After=systemd-tpm2-setup.service systemd-remount-fs.service var.mount
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
ConditionPathExists=!/etc/initrd-release
ConditionSecurity=measured-uki