Remix.run Logo
▲ arcfour 2 hours ago

Why do you even need networkd for a router? Setting one up on Alpine (so not all this cruft) is easy as pie and the whole thing can cold boot in under 10 seconds... Would make the whole setup much more understandable + smaller attack surface...

> I usually prefer using systemd utilities wherever possible.

Ah. There's your problem. When something promises it can do anything and everything, rarely can it do much of it well, I find...

The type of issue you encountered is a pervasive failure mode you will encounter the more and more systemd utilities you rely on. For something like a router, systemd is wholly unnecessary. Try it! You'll agree.

▲o_-_o 2 hours ago | parent | next [-]

Yeah this is why I have that Arch Linux uses systemd* by default. Will try Artix Linux[1]. "Artix Linux is a rolling-release distribution, based on Arch Linux. It uses real init systems, because PID1 must be simple, secure and stable."

[1] https://artixlinux.org/ [*] https://systemd-free.artixlinux.org/

▲hylaride an hour ago | parent | prev [-]

Networking is the biggest cause of issues I've had with systemd, mostly because of the systemd maintainer's insistence on strict adherence to modern RFC's to the detriment of legacy support. This has resulted in my having to deal with gross workarounds for various issues, including this 032 issue with multiple domains: https://docs.aws.amazon.com/linux/al2023/ug/deprecated-al2.h...

▲lmz 29 minutes ago | parent [-]

That multiple domain issue doesn't seem to stem from "modern RFCs", just a decision to not be bug compatible with the previous implementation.

> Windows and other Linux operating systems treat the value as a single domain, which results in unexpected behavior.

The parent poster's suggestion to use Alpine is amusing in the context of your problem because musl libc is notorious for sticking to the spec when compared to glibc.