[systemd-devel] How can I prevent systemd.network from auto-deleting my manually-assigned static IPv4 addresses?

Jeremy Friesner jeremyf at meyersound.com
Fri Sep 15 17:44:13 UTC 2023


Ian Pilcher <arequipeno at gmail.com<https://mailto:arequipeno@gmail.com>> wrote:

> Why are you running systemd-networkd at all?

That’s a really good question — the decision wasn’t made by me.  I think the people in charge of updating the device’s Linux distribution were just thinking along general principles that systemd is the way things are done now, and networkd is part of systemd, so.

In any case, I resolved the conflict by updating my code to write out config files into /run/systemd/network (and then restarting networkd) instead of modifying the Linux state directly.  That way my code is working with networkd rather than fighting with it, and it seems to be working well.

Jeremy
NOTICE: This email may contain confidential information. Please see https://meyersound.com/legal/#email-policy for our complete policy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230915/9a95a150/attachment.htm>


More information about the systemd-devel mailing list