Re: udev rules in /etc/udev/rules.d/ ignored/not-loaded on boot; exec manually OK at shell ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Do, 21.12.23 08:18, pgnd (pgnd@xxxxxxxxxxxx) wrote:

> i'm trying to set a systemd-networkd-managed ethernet interface's
> sysctls _after_ it's renamed on boot, with a udev rule.

networkd manages a large number of those sysctls itself, and has knobs
for them in .network files.

If you change the relevant sysctls both via sysctl.d and via networkd
then they will constantly step on each other's toes.

Hence, if you let networkd manage your interface then let networkd
manage your interface.

Moreover, there's already a udev rule in place to re-apply network
sysctls as those interfaces appear, no need to add one manually.

Lennart

--
Lennart Poettering, Berlin



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux