Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462082 - sys-fs/udev-197: improve doc in /etc/udev/rules.d/80-net-name-slot.rules
Summary: sys-fs/udev-197: improve doc in /etc/udev/rules.d/80-net-name-slot.rules
Status: RESOLVED DUPLICATE of bug 453494
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-17 17:13 UTC by Alex Efros
Modified: 2013-03-17 17:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2013-03-17 17:13:47 UTC
Current doc says:

# Also, be aware that you can get the attributes of your network interface that
# would be used to name the interface in the new scheme by doing the following
# with this version of udev running:
#
# udevadm test-builtin net_id /sys/class/net/ifname 2> /dev/null
#
# for example, on my system, I can find that eth0's new name would be enp1s5.

It's absolutely unclear what "ifname" at end of path isn't mean "ifname" but instead it's a placeholder for interface name like "eth0". It should be either replaced by "eth0" to show working example suitable for most users, or by something which looks like placeholder ("YOUR_INTERFACE_NAME" or "$ifname"), or comments around this example should explicitly state "ifname" should be replaced by interface name.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-03-17 17:49:49 UTC
Thanks for reporting
This is actually already fixed in 198-r1 by dropping of this file, and moving the example to the postinst message of the emerge
As in, this will autoresolve with next stabilization round

*** This bug has been marked as a duplicate of bug 453494 ***