nixpkgs/pkgs/tools
Rémy Grünblatt c9e3cc43c7
nixos: fix iproute2 invocations (#263976)
When using iproute2's ip binary, you can omit the dev parameter, e.g. ip link set up eth0 instead of ip link set up dev eth0.

This breaks if for some reason your device is named e.g. he, hel, … because it is interpreted as ip link set up help.

I just encountered this bug using networking.bridges trying to create an interface named he.

I used a grep on nixpkgs to try to find iproute2 invocations using variables without the dev keyword, and found a few, and fixed them by providing the dev keyword.

I merely fixed what I found, but the use of abbreviated commands makes it a bit hard to be sure everything has been found (e.g. ip l set … up instead of ip link set … up).
2023-10-29 18:27:16 +01:00
..
admin Merge pull request #263637 from mdarocha/azure-cli-fix-build 2023-10-29 13:21:19 +09:00
archivers treewide: remove execute bit for non-executable *.nix files 2023-10-20 19:55:39 +02:00
audio kaldi: unstable-2023-05-02 -> unstable-2023-10-13 2023-10-29 01:13:41 +00:00
backup Merge pull request #262711 from r-ryantm/auto-update/kopia 2023-10-28 04:25:33 +02:00
bluetooth bluetuith: 0.1.7 -> 0.1.8 2023-10-25 11:20:48 +00:00
bootloaders/refind
cd-dvd ventoy-full: 1.0.95 -> 1.0.96 2023-10-23 12:07:26 -03:00
compression advancecomp: 2.5 -> 2.6 2023-10-11 12:10:54 +00:00
dotool
filesystems Merge pull request #263808 from r-ryantm/auto-update/exfatprogs 2023-10-28 21:54:44 +09:00
games optifine: 1.19.2_HD_U_H9 -> 1.20.1_HD_U_I5 2023-10-12 06:47:55 +00:00
graphics Merge pull request #262452 from muscaln/adriconf-bump 2023-10-28 16:38:04 +02:00
inputmethods ibus-engines.m17n: 1.4.22 -> 1.4.23 2023-10-29 09:59:02 +00:00
llm open-interpreter: add mainProgram to meta 2023-10-07 04:59:51 +00:00
misc Merge pull request #263859 from r-ryantm/auto-update/multitail 2023-10-29 17:05:13 +01:00
networking nixos: fix iproute2 invocations (#263976) 2023-10-29 18:27:16 +01:00
nix treewide: sha256 -> hash (#262801) 2023-10-23 00:38:33 +02:00
package-management nfpm: 2.33.1 -> 2.34.0 2023-10-29 10:52:41 +00:00
security Merge pull request #263867 from chivay/honggfuzz 2023-10-29 12:12:59 +01:00
system Merge pull request #261862 from vifino/syslog-ng-4.4.0 2023-10-29 09:51:02 +01:00
text tesh: 0.3.0 -> 0.3.2 2023-10-28 21:21:14 +01:00
typesetting junicode: 1.003 -> 2.001 2023-10-26 22:52:23 +03:00
video go2rtc: 1.8.0 -> 1.8.1 2023-10-23 01:44:55 +02:00
virtualization mkosi: fix mcopy using host timezone for fat timestamps 2023-10-27 12:40:01 +02:00
wayland Merge pull request #262181 from r-ryantm/auto-update/swayrbar 2023-10-28 04:01:59 +02:00
X11 Merge pull request #263632 from gepbird/arandr-bump 2023-10-27 11:33:04 +01:00