On 16.07.24 15:05, gregor herrmann wrote:
On Tue, 16 Jul 2024 13:13:16 +0200, Philip Hands wrote:
I suspect having something that's agnostic about the underlying
implementation as our default would be rather better for the non-systemd
options that people care about, …
Also, networkd doesn't support non-Linux and non-systemd systems AFAIK,
AFAICS, the netplan packages (netplan.io, netplan-generator) currently
have a hard dependency on systemd.
That's true.
Netplan functions as a [systemd-generator] at its core, so it will have the
same limitations as sd-networkd. So ifupdown[-ng] would still be needed as a
fallback for the non-systemd ports.
Not saying this isn't something that couldn't be changed.. but it would be
some bigger effort. In theory the "/usr/libexec/netplan/generate" binary could
be called independently of systemd and produce NetworkManager configuration,
for example. But looking at the Netplan backends (NM, networkd, OVS), non of
them is built for non-linux architectures. So dependencies would need to be
worked out first.
-- Lukas
[systemd-generator]
https://www.freedesktop.org/software/systemd/man/latest/systemd.generator.html