nixpkgs/nixos/modules/tasks
rnhmjoj 6732106210
network-interfaces-scripted: fix interface cleanup
There is apparently a bug in the parser of iproute2 where the command
`ip link show <devname>` will not show the device but list all
interfaces (equivalent to `ip link show`) if devname is equal to one of
the flags of `ip-address(8)`. For example, `home`, or `optimistic`.

This bug causes a false positive in the clean up command of the
<devname>-netdev.service, the service fails and the interface is never
configured.

To avoid the bug we can simply use `ip link show dev <devname>`.
2023-05-27 15:09:22 +02:00
..
filesystems nixos: fix typos 2023-05-19 22:31:04 -04:00
auto-upgrade.nix nixos/*: automatically convert option docs 2022-08-19 22:40:58 +02:00
bcache.nix nixos/*: md-convert hidden plaintext options 2022-08-31 16:32:54 +02:00
cpu-freq.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
encrypted-devices.nix nixos/tasks: invariant option docs MD conversions 2022-07-24 13:01:47 +02:00
filesystems.nix improve stratis initrd support 2023-05-16 22:48:36 -04:00
lvm.nix nixos/lvm: replace boot.isContainer with services.lvm.enable 2022-11-09 23:47:37 +01:00
network-interfaces-scripted.nix network-interfaces-scripted: fix interface cleanup 2023-05-27 15:09:22 +02:00
network-interfaces-systemd.nix nixos: fix typos 2023-05-19 22:31:04 -04:00
network-interfaces.nix nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
powertop.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
scsi-link-power-management.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
snapraid.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
stratis.nix nixos/stratis: init 2022-09-12 15:19:36 +08:00
swraid.nix nixos/*: md-convert hidden plaintext options 2022-08-31 16:32:54 +02:00
trackpoint.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
tty-backgrounds-combine.sh