[systemd-devel] network interface renaming via PCI ID w/ systemd-udevd

Matthew Hall mhall at mhcomputing.net
Wed Nov 11 21:40:04 PST 2015


On Thu, Nov 12, 2015 at 12:12:55AM -0500, Matthew Hall wrote:
> /etc/udev/rules.d/70-net-names.rules:
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", SUBSYSTEM=="pci", KERNELS=="0000:00:1f.6", NAME="eth0"
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", SUBSYSTEM=="pci", KERNELS=="0000:08:00.0", NAME="eth1"
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", SUBSYSTEM=="pci", KERNELS=="0000:0a:00.0", NAME="eth2"
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", SUBSYSTEM=="pci", KERNELS=="0000:0a:00.1", NAME="eth3"

For future users who hits this, I think I finally found the bug.

You have to use the "SUBSYSTEMS" filter not the "SUBSYSTEM" filter. I am by 
far not an expert on udev and the rules are extremely confusing. Is there a 
better way to write this ruleset?

The process for adding an account on the FDO wiki is extremely confusing for 
any non-expert users:

http://wiki.freedesktop.org/sitewranglers/wiki/401/

There is no way anybody that isn't a crypto geek will know how to do that. It 
would be good if you could enable a CAPTCHA or web-based flow of some kind in 
a way which will not cause a flood of spammers so mere mortals can actually 
fix bugs in the pages.

I requested access... is there somebody here who could expedite it so I could 
get this fixed ASAP?

Thanks,
Matthew.


More information about the systemd-devel mailing list