nixos/systemd-networkd: wait for udev to settle
... to avoid race condition between udevd renaming and networkd configuring interfaces (39069)
This commit is contained in:
parent
2a488c9758
commit
236703f9f3
@ -712,6 +712,9 @@ in
|
||||
systemd.services.systemd-networkd = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
restartTriggers = map (f: f.source) (unitFiles);
|
||||
# prevent race condition with interface renaming (#39069)
|
||||
requires = [ "systemd-udev-settle.service" ];
|
||||
after = [ "systemd-udev-settle.service" ];
|
||||
};
|
||||
|
||||
systemd.services.systemd-networkd-wait-online = {
|
||||
|
Loading…
Reference in New Issue
Block a user