[systemd-devel] renamed link
Pascal
patatetom at gmail.com
Fri May 19 07:02:43 UTC 2017
is udev responsible for linking the system with the hardware?
in this case, why does renaming not take place at the very first level ?
which would make new name available for all other levels...
hardware detected (plugged or in place) :
~> udev :
~> rename with defined rule (or not) :
~> systemd etc... (with new name available)
thanks for sysctl tip :-)
2017-05-19 1:52 GMT+02:00 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170519/ad262aeb/attachment.html>
More information about the systemd-devel
mailing list