822918df4c
The `network-link-${i.name}` units raced with other things trying to configure the interface, or ran before the interface was available. Instead of running our own set of shell scripts on boot, and hoping they're executed at the right time, we can make use of udev to configure the interface *while they appear*, by providing `.link` files in /etc/systemd/network/*.link to set MACAddress and MTUBytes. This doesn't require networkd to be enabled, and is populated properly on non-networkd systems since https://github.com/NixOS/nixpkgs/pull/82941. This continues clean-up work done in https://github.com/NixOS/nixpkgs/pull/85170 for the scripted networking stack. The only leftover part of the `network-link-${i.name}` unit (bringing the interface up) is moved to the beginning of the `network-addresses-${i.name}` unit. Fixes: https://github.com/NixOS/nixpkgs/issues/74471 Closes: https://github.com/NixOS/nixpkgs/pull/87116 |
||
---|---|---|
.. | ||
release-notes.xml | ||
rl-1310.xml | ||
rl-1404.xml | ||
rl-1412.xml | ||
rl-1509.xml | ||
rl-1603.xml | ||
rl-1609.xml | ||
rl-1703.xml | ||
rl-1709.xml | ||
rl-1803.xml | ||
rl-1809.xml | ||
rl-1903.xml | ||
rl-1909.xml | ||
rl-2003.xml | ||
rl-2009.xml |