mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +03:00
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.
This commit is contained in:
parent
678bd12cfc
commit
09e6921758
@ -13,6 +13,7 @@ Documentation=man:systemd-pcrlock(8)
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
||||||
|
After=systemd-remount-fs.service var.mount
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
ConditionSecurity=measured-uki
|
ConditionSecurity=measured-uki
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ Description=Lock Firmware Code to TPM2 PCR Policy
|
|||||||
Documentation=man:systemd-pcrlock(8)
|
Documentation=man:systemd-pcrlock(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
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
|
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
ConditionSecurity=measured-uki
|
ConditionSecurity=measured-uki
|
||||||
|
@ -12,7 +12,7 @@ Description=Lock Firmware Configuration to TPM2 PCR Policy
|
|||||||
Documentation=man:systemd-pcrlock(8)
|
Documentation=man:systemd-pcrlock(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
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
|
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
ConditionSecurity=measured-uki
|
ConditionSecurity=measured-uki
|
||||||
|
@ -13,6 +13,7 @@ Documentation=man:systemd-pcrlock(8)
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
||||||
|
After=systemd-remount-fs.service var.mount
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
ConditionSecurity=measured-uki
|
ConditionSecurity=measured-uki
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ DefaultDependencies=no
|
|||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-tpm2-setup.service
|
After=systemd-tpm2-setup.service
|
||||||
Before=sysinit.target shutdown.target
|
Before=sysinit.target shutdown.target
|
||||||
|
After=systemd-remount-fs.service var.mount
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
ConditionSecurity=measured-uki
|
ConditionSecurity=measured-uki
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ DefaultDependencies=no
|
|||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-tpm2-setup.service
|
After=systemd-tpm2-setup.service
|
||||||
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
||||||
|
After=systemd-remount-fs.service var.mount
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
ConditionSecurity=measured-uki
|
ConditionSecurity=measured-uki
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ DefaultDependencies=no
|
|||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-tpm2-setup.service
|
After=systemd-tpm2-setup.service
|
||||||
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
|
||||||
|
After=systemd-remount-fs.service var.mount
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
ConditionSecurity=measured-uki
|
ConditionSecurity=measured-uki
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user