[systemd-devel] udev failing to assign consistent biosdevnames to my ethernet interfaces

Tom Gundersen teg at jklm.no
Mon Jan 27 04:27:44 PST 2014


On Mon, Jan 27, 2014 at 1:25 PM, Thomas Bächler <thomas at archlinux.org> wrote:
> Am 27.01.2014 05:18, schrieb David Anderson:
>> Jan 26 19:10:38 ironman kernel: e1000e 0000:00:19.0 eth0: Intel(R)
>> PRO/1000 Network Connection
>> ...
>> Jan 26 19:10:38 ironman kernel: e1000e 0000:02:00.0 eth1: Intel(R)
>> PRO/1000 Network Connection
>> ...
>> *Jan 26 19:10:38 ironman systemd-udevd[153]: error changing net
>> interface name eth1 to eno1: File exists*
>> Jan 26 19:10:38 ironman systemd[1]: Found device 82574L Gigabit Network
>> Connection.
>> *Jan 26 19:10:38 ironman systemd-udevd[149]: renamed network interface
>> eth0 to eno1*
>
> FWIW, you can copy /usr/lib/udev/rules.d/80-net-name-slot.rules to
> /etc/udev/rules.d/ and comment out line 10:
>
> # NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"

This is probably the best thing to do (at least until we can figure
out something better), it will name your nics according to
ID_NET_NAME_PATH instead, which is not as pretty, but won't suffer
from the same issue.

-t


More information about the systemd-devel mailing list