nixpkgs/nixos/doc/manual/release-notes
Florian Klink 822918df4c nixos/scripted-networking: use udev to configure link MACAddress and MTUBytes
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
2020-05-22 10:58:00 +02:00
..
release-notes.xml 20.09 is Nightingale 2020-02-10 14:14:18 -05:00
rl-1310.xml nixos docs: format =) 2018-05-01 19:57:09 -04:00
rl-1404.xml treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
rl-1412.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
rl-1509.xml treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
rl-1603.xml treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
rl-1609.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
rl-1703.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
rl-1709.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
rl-1803.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
rl-1809.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
rl-1903.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
rl-1909.xml doc/rl-1909: fix language 2019-11-15 00:32:09 +01:00
rl-2003.xml Fix typos (#85693) 2020-04-22 01:02:11 +02:00
rl-2009.xml nixos/scripted-networking: use udev to configure link MACAddress and MTUBytes 2020-05-22 10:58:00 +02:00