Problem with udev and ethX naming in latest Fedora 19.

Ben Greear greearb at candelatech.com
Thu Aug 15 06:11:04 UTC 2013


I'm having all sorts of trouble trying to get udev to rename
my interfaces based on MAC address.  Please don't suggest
I use biosdevname or other such things:  I really do want names
to be ethX and I want them in a specific order base on MAC address.


[root at localhost ~]# cat /etc/udev/rules.d/70-persistent-net.rules


SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:ed:1c:ec:e4", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth2"

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:ed:1c:ec:e5", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth3"

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:30:48:fc:17:a2", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth0"

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:30:48:fc:17:a3", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth1"


If I change the NAME=ethX to NAME=ethXr, then it seems to work.  But, if I leave it as is above,
it does not appear to make any changes at all to the naming.  I turned on debugging:

[root at localhost ~]# cat /etc/udev/udev.conf
# see udev(7) for details

udev_log="debug"


But, I never see anything at all about 'ethX'.

I do not see any errors in /var/log/messages about it failing to rename due to 'File Exists'.

I read this thread about similar issue in Fedora 18, but towards the bottom, there is
a claim the bug was fixed.  Maybe it came back?

http://comments.gmane.org/gmane.linux.redhat.fedora.general/427615


[root at localhost ~]# rpm -qa|grep systemd
systemd-python-204-9.fc19.x86_64
systemd-204-9.fc19.x86_64
systemd-libs-204-9.fc19.x86_64
systemd-sysv-204-9.fc19.x86_64


I'd be grateful for any help..Fedora 17 has become unstable for us due to gnome-fallback mode crashing,
so I'd like to be able to move forward to Fedora 19, but I really have to get udev working properly
first...

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the users mailing list