Samuli Suominen posted on Mon, 24 Feb 2014 07:32:01 +0200 as excerpted:

> If it's okay, I'd want to post this fast, before adding KEYWORDS to
> sys-fs/udev-209's ebuild
> 
> 
> Title: Upgrading udev to version >=209
> Author: Samuli Suominen <[email protected]>
> Content-Type: text/plain
> Posted: 2014-02-21
> Revision: 1
> News-Item-Format: 1.0
> Display-If-Installed: <sys-fs/udev-209
> 
> First of all, kernel option CONFIG_FHANDLE=y should be enabled since
> version 209 for libudev, but mostly this news item is to inform you
> about the network interface naming configuration change:

Rewording Steev's comment, this wording comes across as rather more 
informal than most news items.  I rather like the approach myself but it 
does rather stick out.

A more formal approach might be:

Two points:

1) CONFIG_FHANDLE=y is required in your kernel config for >=udev-209.

2) ...

> /lib/udev/rules.d/80-net-name-slot.rules was renamed to
> 80-net-setup-link.rules and the actual configuration is at
> /lib/systemd/network/99-default.link which you can override in
> /etc/systemd/network/

That's a run-on sentence.  Again, not acceptable in formal writing.  
Continuing from the above, here's a suggested point 2:

2) The former /lib/udev/rules.d/80-net-name-slot.rules file is renamed to 
80-net-setup-link.rules in the same location.  If you were overriding 
udev's predictable naming feature using an identically named file in
/etc/udev/rules.d, either rename it accordingly or see the wiki link[1] 
below for other options.


Meanwhile, on the wiki I'd suggest stressing the kernel commandline 
option (mentioned further up the wiki page but not in the 208-to-209 
section), since presumably it's not going to be constantly changing to 
suit systemd-udev's upstream whims, as the script name disabling method 
seems to be doing.

Optionally (and IMO preferred), make that the suggested solution in the 
news item with the following suggested text replacing the above:

2) /lib/udev/rules.d/80-net-name-slot.rules is being renamed.  If you 
were overriding it with an identically named file in /etc/udev/rules.d/, 
you'll need to change your override as well.  We suggest using the 
net.ifnames=0 kernel commandline option method as that should remain 
stable through many udev releases.  For other options and more detail, 
see the wiki link[1] below. 

> [1] https://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_209
> [2] http://www.freedesktop.org/wiki/Software/systemd/
> PredictableNetworkInterfaceNames

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to