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:
Vito Caputo 2015-08-26 16:58:23 -07:00
parent b6cfc59d32
commit d3a802e571

View File

@ -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