Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162730 - Avoid persistent naming for xen network devices
Summary: Avoid persistent naming for xen network devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: udev-meta
  Show dependency tree
 
Reported: 2007-01-19 01:53 UTC by Micheal Marineau (RETIRED)
Modified: 2007-01-30 16:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for 75-persistent-net-generator.rules (75-persistent-net-generator.rules.diff,1.00 KB, patch)
2007-01-19 01:55 UTC, Micheal Marineau (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Micheal Marineau (RETIRED) gentoo-dev 2007-01-19 01:53:53 UTC
Xen by default will generate a random mac address for virtual machines network devices. Thanks to udev trying to keep persistent names based on mac over a reboot eth0 can magically become eth1 which sort of defeats the purpose. :-)

I'll have a patch against udev 103 coming shortly to fix this.
Comment 1 Micheal Marineau (RETIRED) gentoo-dev 2007-01-19 01:55:55 UTC
Created attachment 107406 [details, diff]
Patch for 75-persistent-net-generator.rules

Adds SUBSYSTEMS!="xen" to the rule.
Comment 2 SpanKY gentoo-dev 2007-01-19 04:21:51 UTC
yeah, the new persistent stuff is actually kind of annoying
Comment 3 Matthias Schwarzott gentoo-dev 2007-01-30 16:14:53 UTC
Applied patch to udev-104-r6.