linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* locally-administered MAC addresses create stupid rules
@ 2007-11-19  4:45 Alexander E. Patrakov
  2007-11-19 11:06 ` Kay Sievers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Alexander E. Patrakov @ 2007-11-19  4:45 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-19 12:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-19  4:45 locally-administered MAC addresses create stupid rules Alexander E. Patrakov
2007-11-19 11:06 ` Kay Sievers
2007-11-19 11:31 ` Alexander E. Patrakov
2007-11-19 11:55 ` Kay Sievers
2007-11-19 12:04 ` Alexander E. Patrakov
2007-11-19 12:18 ` Kay Sievers
2007-11-19 12:53 ` Alexander E. Patrakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).