From 2853fa9a42ac0792a876b6181acbdb475d25fe41 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 6 Aug 2015 16:57:15 +0200 Subject: [PATCH] udev-rules: only invoke ethtool for existing interfaces ethtool may cause the auto-loading of a kernel module for non-existing interface-names. Avoid that by checking whether such an interface exists. (cherry picked from commit 9366bd7f90956478ffec0f35adac8dbb60823134) --- data/85-nm-unmanaged.rules | 1 + 1 file changed, 1 insertion(+) diff --git a/data/85-nm-unmanaged.rules b/data/85-nm-unmanaged.rules index aefab5c461..e4057dbe3e 100644 --- a/data/85-nm-unmanaged.rules +++ b/data/85-nm-unmanaged.rules @@ -2,6 +2,7 @@ # To override or extend the rules place a file in /etc/udev/rules.d SUBSYSTEM!="net", GOTO="nm_unmanaged_end" +ACTION!="add|change", GOTO="nm_unmanaged_end" # Determine ID_NET_DRIVER if there's no ID_NET_DRIVER or DRIVERS (old udev?) ENV{ID_NET_DRIVER}=="?*", GOTO="nm_unmanaged_driver"