[systemd-devel] when/where was support for assigning "ethX" names removed?

Andrei Borzenkov arvidjaar at gmail.com
Sun May 29 17:36:39 UTC 2016


29.05.2016 19:55, Michael Biebl пишет:
> 2016-05-29 18:28 GMT+02:00 Lennart Poettering <lennart at poettering.net>:
>> On Sat, 28.05.16 21:38, Martin Pitt (martin.pitt at ubuntu.com) wrote:
>>
>>> Chris Friesen [2016-05-27  9:14 -0600]:
>>>> The reason why I'm poking at this is that the old scheme worked "good
>>>> enough" for us for several years.  Now of course the new scheme is better,
>>>> but it breaks backwards compatibility.  This makes it difficult to
>>>> automatically upgrade an existing system to an OS using the new scheme since
>>>> all the names would change.  (And we've got the old interfaces stored in
>>>> databases and such in our management software.)
>>>
>>> FTR, Debian/Ubuntu do not use the new schema on upgrades for existing
>>> interfaces, just for new installs, for precisely this reason.
>>> Specifically, if you already have an existing
>>> /etc/udev/rules.d/70-persistent-net.rules, this will still be present
>>> (and trump ifnames). But we also disable it for VM upgrades where the
>>> previous persistent-net-generator was blacklisted.
>>
>> I am pretty sure most other distros won't remove the persistend rules
>> file either on upgrade.
> 
> This might be true. Still, since upstream udev removed the workaround
> to retry getting the renamed name (see the commit I mentioned
> earlier), it is much more likely to fail now. Fwiw, we reverted that
> commit in Debian/Ubuntu for that reason [1].
> 
> Not sure if other distros do the same.
> 

openSUSE still carries variant of old rename code.

> Regards,
> Michael
> 
> [1] https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/debian/Revert-udev-network-device-renaming-immediately-give.patch
> 



More information about the systemd-devel mailing list