From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Mon, 19 Nov 2007 04:45:30 +0000 Subject: locally-administered MAC addresses create stupid rules Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hello, the default persistent network rules generator in udev-117 creates this stupid rule for a network card with a locally-administered MAC address: SUBSYSTEM="net", ACTION="add", ATTR{type}="1", NAME="eth0" (to reproduce: kvm -net nic,macaddr#:45:67:89:ab:cd -hda hda.dsk) This generated rule is stupid, because it matches every ethernet card. The logic that strips out locally-administered MAC addresses from the match should be revised, but I don't know how to do it properly. If we just remove the generated rule, we'll possibly end up with a random name (e.g., eth0) for this network card and a eth0_rename name for a conflicting interface that should really be eth0 according to the other rules. -- Alexander E. Patrakov ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel