[systemd-devel] renamed link

Lennart Poettering lennart at poettering.net
Fri May 19 09:24:18 UTC 2017


On Thu, 18.05.17 23:51, Pascal (patatetom at gmail.com) wrote:

> hi,
> 
> I rename my network cards (with udev rule or systemd .link file) in order
> to use their new name everywhere else: sysctl, systemd-networkd, samba,
> iptables, etc ...
> 
> unfortunately, sysctl and systemd-networkd are started before the name
> change and the defined configurations are not applied to my cards :-(
> 
> is there a way to start the name change before the rest ? it would even
> seem more "logical"...
> 
> actualy, I must restart systemd-networkd service and replay sysctl :-(

The whole point of .link files is that they are applied before the
udev rules complete and udev picks of the device.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list