[systemd-devel] renamed link
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Thu May 18 23:52:48 UTC 2017
On Thu, May 18, 2017 at 11:51:25PM +0200, Pascal 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"...
That's not possible. Network cards can appear at any time: usb cards
can be detected slowly, and hardware can be plugged in at any time, etc.
> actualy, I must restart systemd-networkd service and replay sysctl :-(
sysctl settings for a network interface can be applied after the
interface is detected, see 99-systemd.rules.
Zbyszek
More information about the systemd-devel
mailing list