mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
95sel-ebc: Reorder PAES enforcement service
Fix the sel-ebc-paes-enforce.service to run AFTER the sysroot.mount which prevents a TOCTOU situation. Reviewed-by: Holger Dengler <dengler@linux.ibm.com> Signed-off-by: Finn Callies <fcallies@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
8a52693acc
commit
4f9e5d7842
@@ -4,7 +4,8 @@ Description=Enforce PAES encrypted root fs for SEL guests
|
||||
# Ensure this runs before the handoff to the real root, if that's required:
|
||||
After=cryptsetup.target
|
||||
After=initrd-root-device.target
|
||||
Before=sysroot.mount
|
||||
After=sysroot.mount
|
||||
Before=initrd-switch-root.service
|
||||
|
||||
# Initramfs requirement
|
||||
DefaultDependencies=no
|
||||
|
||||
Reference in New Issue
Block a user