mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue