3
0
Fork 0
forked from mirrors/nixpkgs
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
bcache.nix
cpu-freq.nix
encrypted-devices.nix
filesystems.nix improve stratis initrd support 2023-05-16 22:48:36 -04:00
lvm.nix
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
scsi-link-power-management.nix
snapraid.nix
stratis.nix
swraid.nix
trackpoint.nix
tty-backgrounds-combine.sh