Summary: | Since the system is boosted by SSD the network interfaces are detected sometimes in the wrong order | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Weber <web.alexander> |
Component: | [OLD] Core system | Assignee: | udev maintainers <udev-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Weber
2013-03-12 12:02:15 UTC
This isn't an OpenRC issue. It looks like your network card drivers are built into the kernel and you are trying to make the cards have specific names in the eth* name space. This has many issues. Please look at the information in the bug this is a duplicate of, as well as the wiki page that bug refers to. If you want to assign persistent names to your cards other than the predictable interface names, you should use names other than eth* names. *** This bug has been marked as a duplicate of bug 453494 *** (In reply to comment #1) > This isn't an OpenRC issue. It looks like your network card drivers are > built into the kernel and you are trying to make the cards have specific > names in the eth* name space. This has many issues. Please look at the > information in the bug this is a duplicate of, as well as the wiki > page that bug refers to. > If you want to assign persistent names to your cards other than the > predictable interface names, you should use names other than eth* names. (option 1) right, something meaningful like network0, network1, or just net0, net5, ... or... (option 2) removal of the old 70-persistent-net.rules and the "empty" 80-net-name-slot.rules from /etc/udev/rules.d/ makes udev use it's own default thats the /lib/udev/rules.d/80-net-name-slot.rules, which enables the predictable names: http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames # udevadm test-builtin net_id /sys/class/net/<ifname> 2> /dev/null replace <ifname> with something like eth0, and you get information before booting what names will be used this is mentioned in the udev news item, as well as postinst message of 197-r8 and even better handling in 198-r1, and the bug this is duplicated to, is also mentioned in the gentoo wiki and the news item just clarifying ;) |