Sfoglia il codice sorgente

Delete the persistent-net-generator rules file when using bus positions for network device name assignments. Fixes #1912.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7853 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bryan Kadzban 19 anni fa
parent
commit
97c1e3ce45
3 ha cambiato i file con 25 aggiunte e 2 eliminazioni
  1. 10 0
      chapter01/changelog.xml
  2. 13 0
      chapter07/network.xml
  3. 2 2
      general.ent

+ 10 - 0
chapter01/changelog.xml

@@ -36,6 +36,16 @@
     </listitem>
 -->
 
+    <listitem>
+      <para>2006-11-05</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bryan] - Delete the persistent-net-generator rules file if
+          bus-position-based persistence is going to be used.  Fixes #1912.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2006-11-03</para>
       <itemizedlist>

+ 13 - 0
chapter07/network.xml

@@ -102,6 +102,19 @@ ACTION=="add", SUBSYSTEM=="net", BUS=="<replaceable>pci</replaceable>", KERNELS=
     NAME="<replaceable>intel</replaceable>"</literal>
 EOF</userinput></screen>
 
+    <para>Udev has installed a rule_generator rules file that uses MAC
+    addresses, not bus positions.  Rules generated by this file will conflict
+    with the rules you just created, so delete the file:</para>
+
+<screen role="nodump"><userinput>rm /etc/udev/rules.d/75-persistent-net-generator.rules</userinput></screen>
+
+    <note>
+      <para>You will also have to remember to create a new bus-position-based
+      rule each time you plug in an additional network card.  In a MAC address
+      based persistence scheme, the rule_generator rules file would do this
+      automatically.</para>
+    </note>
+
     <para>Regardless of which method you use, these rules will always rename
     the network cards to <quote>realtek</quote> and <quote>intel</quote>,
     independently of the original numbering provided by the kernel (i.e.: the

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20061103">
-<!ENTITY releasedate "November 3, 2006">
+<!ENTITY version "SVN-20061105">
+<!ENTITY releasedate "November 5, 2006">
 <!ENTITY milestone "6.3">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->