Bug 1003884 - systemd is not able create predictable MAC-based ethX network interface names
Summary: systemd is not able create predictable MAC-based ethX network interface names
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-03 12:26 UTC by Frantisek Hanzlik
Modified: 2013-09-10 14:58 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-10 14:58:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frantisek Hanzlik 2013-09-03 12:26:32 UTC
Description of problem:
It seems as F19 induced restriction in creating MAC (HW ether addr) based netvork interfaces for kernel native names ethN - it is relatively simple to create predictable MAC-based netvork interface with some other names (e.g. netX),
but creating predictable MAC-based ethX netvork interface names isn't possible - at least with new systemd/udev interface.
'net.ifnames=0'/'NULL /etc/udev/rules.d/80-net-name-slot.rules' is solution for machine with only one interface, thus unacceptable.

This should be _bug_, as these names are here ~20 years (whole time the Linux is here), and there are lot of scripts and utilities which expect this naming.

Version-Release number of selected component (if applicable):
systemd-204-8.fc19.i686.rpm
systemd-204-9.fc19.i686.rpm

Additional info:
Although is possible solve this problem beside of systemd/udev system initialization phase with some user scripting, this should be systemd task.

Comment 1 Zbigniew Jędrzejewski-Szmek 2013-09-10 14:58:44 UTC
Are you saying that it's not possible to rename interfaces *into* the ethX namespace? (E.g. have eth0 renamed to eth1, and eth1 to eth...). That's not supported inded, because it was racy. Even if it worked for a long time, computers are faster now, and the bootup sequence less predictable, and this just isn't supported anymore. For a longer explanation see "Why?" section in
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ or https://bugs.freedesktop.org/show_bug.cgi?id=56929#c3.


Note You need to log in before you can comment on or make changes to this bug.