aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-01-01 05:57:54 +0800
committerXi Ruoyao <xry111@xry111.site>2024-01-01 05:57:54 +0800
commit257686627d14b94ee248198e04b431f9567f4d72 (patch)
tree299d0f6655636bc4a814bb82d7c56dd6e767750f /chapter09
parent00de2694ce852e9b042eaa3225e0c079978e048f (diff)
parent6fec3f51e71f36219829eddd63b1cf6e11bcd447 (diff)
Merge remote-tracking branch 'origin/trunk' into xry111/arm64xry111/arm64
Diffstat (limited to 'chapter09')
-rw-r--r--chapter09/symlinks.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter09/symlinks.xml b/chapter09/symlinks.xml
index 86528ba69..b2479f053 100644
--- a/chapter09/symlinks.xml
+++ b/chapter09/symlinks.xml
@@ -112,6 +112,19 @@
proceeding, and be sure to use that <literal>NAME</literal> value when
creating your network configuration files.</para>
+ <para>Even if the custom udev rule file is created, udev may still
+ assign one or more alternative names for a NIC based on physical
+ characteristics. If a custom udev rule would rename some NIC using
+ a name already assigned as an alternative name of another NIC, this
+ udev rule will fail. If this issue happens, you may create the
+ <filename>/etc/udev/network/99-default.link</filename> configuration
+ file with an empty alternative assignment policy, overriding the
+ default configuration file
+ <filename>/usr/lib/udev/network/99-default.link</filename>:</para>
+
+<screen role="nodump"><userinput>sed -e '/^AlternativeNamesPolicy/s/=.*$/=/' \
+ -i /usr/lib/udev/network/99-default.link \
+ > /etc/udev/network/99-default.link</userinput></screen>
</sect3>
</sect2>