Summary: | udev-100(-r1) breaks network interface renaming in 10-local.rules | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick <mail> |
Component: | [OLD] Core system | Assignee: | Greg Kroah-Hartman (RETIRED) <gregkh> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | anarchy, jakub |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick
2006-09-12 11:56:17 UTC
Try ATTR{address}=="00:13:77:ab:cd:ef", no idea why the backwards compatibility thing doesn't work. :/ Hm... now it also works with SYSFS - I deleted /etc/udev/rules.d/* except 10-local.rules before installing udev-100-r2 again, I think there were some old rules that haven't been deleted due to config-protect. I can't reproduce this behaviour anymore, so I'm marking this bug as invalid. Let's see if somebody else runs into that problem... Cheers, Patrick. (In reply to comment #2) > Hm... now it also works with SYSFS - I deleted /etc/udev/rules.d/* except > 10-local.rules before installing udev-100-r2 again, I think there were some old > rules that haven't been deleted due to config-protect. > > I can't reproduce this behaviour anymore, so I'm marking this bug as invalid. > Let's see if somebody else runs into that problem... I'd recommend dropping your 10-local.rules file for network devices, and let the scripts create a rule for the network devices automatically. Delete the file (or move it somewhere else, then reboot or just load the network module. Then look in the 70-persistent-net.rules file for the new rules for that network device. If you don't like the name, change it there. (In reply to comment #3) > I'd recommend dropping your 10-local.rules file for network devices, and let > the scripts create a rule for the network devices automatically. Delete the > file (or move it somewhere else, then reboot or just load the network module. > Then look in the 70-persistent-net.rules file for the new rules for that > network device. If you don't like the name, change it there. I thought about that. But you know, I like to wrap up my customisations in one place, which is then easily maintainable. I prefer not to change a couple of .rules files on every update and every system. |