Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 502986

Summary: doc/en/handbook/handbook-amd64.xml?part=4&chap=2 is outdated for >=sys-fs/udev-210
Product: [OLD] Docs on www.gentoo.org Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Installation HandbookAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED FIXED    
Severity: normal CC: docs-team
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=4&chap=2
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 505962    
Bug Blocks:    

Description Samuli Suominen (RETIRED) gentoo-dev 2014-02-27 19:29:21 UTC
First of all, I'm filing this bug early as >=sys-fs/udev-210 is not in stable yet, so I don't think anything should be done before it is.

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=4&chap=2#doc_chap4 is referencing a file called '80-net-name-slot.rules' which no longer exists in newer >=sys-fs/udev-210.

The configuration is now at /lib/systemd/network/99-default.link, and that you can override in /etc/systemd/network/99-default.link
The trigger for that configuration is at /lib/udev/rules.d/80-net-setup-link.rules, which you can override at /etc/udev/rules.d/80-net-setup-link.rules

So either, overriding the .link file or the new .rules file works, I don't know which one you want to document, but since the actual configuration is in the .link file, maybe that's the best place, so:

# ln -s /dev/null /etc/systemd/network/99-default.link

Or all of this can be removed, and simply document the kernel parameter 'net.ifnames=0' which works in all udev versions
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2014-04-12 12:09:49 UTC
Thanks, the document now only refers to the kernel boot parameter (in CVS, will show up on the site in an hour or so).