Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474864 - sys-fs/udev should warn about changed default network interfaces naming scheme only when upgrading from version <200 to version >=200
Summary: sys-fs/udev should warn about changed default network interfaces naming schem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 12:20 UTC by Coacher
Modified: 2013-07-04 12:22 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 Coacher 2013-06-26 12:20:36 UTC
Currently (udev-204) udev ebuild has a warning about changed network interfaces naming scheme which was introduced in udev-197 according to this:
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

This warning should not be shown during upgrade from post-197 to post-197 version, for example, when upgrading from udev-200 to udev-204. It is confusing and I thought that udev developers changed something again in 204 version and it took me some time to find out that this was wrong thought.

Reproducible: Always
Comment 1 Coacher 2013-06-26 12:29:47 UTC
(In reply to Coacher from comment #0)
> This warning should not be shown during upgrade from post-197 to post-197
> version, for example, when upgrading from udev-200 to udev-204. It is
> confusing and I thought that udev developers changed something again in 204
> version and it took me some time to find out that this was wrong thought.

I've checked other udev ebuilds in tree and found out that new naming scheme is default since udev-200, so I've updated the title. And in my previous comment it should be "post-200", not "post-197"
Comment 2 Coacher 2013-06-30 17:27:40 UTC
Or could you please change the first line of warning to smth like this:

ewarn "The new predictable network interface names are used by default since v200, see:"

This way it is clear that it is the same naming scheme as before and users who made transition to it during upgrade to udev-200 won't have to worry.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-07-01 17:31:47 UTC
(In reply to Coacher from comment #2)
> Or could you please change the first line of warning to smth like this:
> 
> ewarn "The new predictable network interface names are used by default since
> v200, see:"
> 
> This way it is clear that it is the same naming scheme as before and users
> who made transition to it during upgrade to udev-200 won't have to worry.

The message is now,

"Starting from version >= 200 the new predictable network interface names are"
"used by default, see:"
"http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames"
"http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c"
"Example command to get the information for the new interface name before booting"
"(replace <ifname> with, for example, eth0):"
"# udevadm test-builtin net_id /sys/class/net/<ifname> 2> /dev/null"
"You can use either kernel parameter \"net.ifnames=0\", create empty"
"file /etc/udev/rules.d/80-net-name-slot.rules, or symlink it to /dev/null"
	elog "to disable the feature."

Changed it also from 'ewarn' to 'elog'

We can adjust it later so it'll show up only once, but for now, it's so new feature, we'll leave it like this
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-07-01 17:32:53 UTC
oh and it's changed only for 9999 ebuild now, and will be in udev-205 when it's released (which is likely soon)
Comment 5 Coacher 2013-07-02 07:48:00 UTC
(In reply to Samuli Suominen from comment #4)
> oh and it's changed only for 9999 ebuild now, and will be in udev-205 when
> it's released (which is likely soon)

Thank you!
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-07-04 12:22:10 UTC
(In reply to Coacher from comment #5)
> (In reply to Samuli Suominen from comment #4)
> > oh and it's changed only for 9999 ebuild now, and will be in udev-205 when
> > it's released (which is likely soon)
> 
> Thank you!

np

meanwhile udev-205 was released and added to tree and has this 'improvement'