diff options
author | Bryan Kadzban <bryan@linuxfromscratch.org> | 2006-11-06 03:45:49 +0000 |
---|---|---|
committer | Bryan Kadzban <bryan@linuxfromscratch.org> | 2006-11-06 03:45:49 +0000 |
commit | 97c1e3ce45ef293896200d1de821ac8c8561b253 (patch) | |
tree | f0852968416fc7e6b424fe12413c9c9bffb03c57 | |
parent | 9f20df31280ec47f4a92a2e32061264d2b0910a3 (diff) |
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
-rw-r--r-- | chapter01/changelog.xml | 10 | ||||
-rw-r--r-- | chapter07/network.xml | 13 | ||||
-rw-r--r-- | general.ent | 4 |
3 files changed, 25 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 40c09b1f1..3e9597410 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,16 @@ --> <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> <listitem> diff --git a/chapter07/network.xml b/chapter07/network.xml index 6adc1bb38..f03a2989a 100644 --- a/chapter07/network.xml +++ b/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 diff --git a/general.ent b/general.ent index 988249a64..e3eaedc70 100644 --- a/general.ent +++ b/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}]" --> |