mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
sys-apps/ignition: ensure ignition-disks runs after disk-uuid
There's potential for racing with sgdisk or its generated udev events which may also open the device if we get scheduled simultaneously. This is problematic since ignition-disks may also do partitioning and formatting of the same devices.
This commit is contained in:
parent
b6cfc59d32
commit
d3a802e571
@ -16,6 +16,9 @@ After=initrd-systemd-networkd.service
|
|||||||
Wants=initrd-systemd-resolved.service
|
Wants=initrd-systemd-resolved.service
|
||||||
After=initrd-systemd-resolved.service
|
After=initrd-systemd-resolved.service
|
||||||
|
|
||||||
|
# prevent racing with sgdisk and its subsequent udev activity
|
||||||
|
After=disk-uuid.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
TimeoutStartSec=30s
|
TimeoutStartSec=30s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user