Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35267 - [udev] from suystemd doesn't work for network cards

Attached to Project: Arch Linux
Opened by Giovanni (ksniffer) - Tuesday, 14 May 2013, 08:14 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 14 May 2013, 19:49 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I have got 2 network cards, so I created the file /etc/udev/rules.d/10-network.rules and it's:

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="b8:ac:6f:2c:77:e9", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:10:18:6f:5f:41", NAME="eth1"

Very often network cards is not assigned with that names and I have to set the IP address by ifconfig after the boot considering that the whole network configuration is wrong cause of the wrong eth* name assignment.

I have systemd 204-1, kernel 3.9.2-1 and netclt 1.0-1 installed.
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 14 May 2013, 19:49 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Nothing to do here. Renaming within the kernel namespace is racy and will not work.
Comment by Jelle van der Waa (jelly) - Tuesday, 14 May 2013, 19:38 GMT Comment by Giovanni (ksniffer) - Tuesday, 14 May 2013, 19:41 GMT
sometimes I get eth0 and eth1 associated correclty to their MAC address as specified in udev rules file, some other times the network cards switch eth0 -> 00:10:18:6f:5f:41 and eth1 -> b8:ac:6f:2c:77:e9 and some other times eth0 doesn't exist.
Comment by Dave Reisner (falconindy) - Tuesday, 14 May 2013, 19:49 GMT
...which is why this sort of thing isn't supported. Use systemd's renaming facilities.

Loading...