Files
vanlink/dns/zt-required-for-online.conf
T
Andreas WredeandClaude Opus 4.8 118f2f2f5e failover/boot: stop ZeroTier link from deadlocking network-online.target
systemd-networkd-wait-online waits for every managed networkd link to go
routable. The ZT link ztuga7c2kh only appears once zerotier-one starts, but
zerotier-one is ordered After=network-online.target — so wait-online blocked
on the not-yet-existing link until its 120s timeout, adding ~2min to every
boot and delaying ZeroTier (the recovery path).

Add a RequiredForOnline=no drop-in so the overlay link is excluded from the
gate; real uplink readiness is already covered by NetworkManager-wait-online
(networkd owns only the AP + ZT links here, neither a true uplink). Wire it
into deploy.sh and document the loop in README §3/§5.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 20:44:26 -04:00

8 lines
497 B
Plaintext

[Link]
# The ZeroTier overlay must NOT gate network-online.target. The ztuga7c2kh interface
# only exists once zerotier-one starts, but zerotier-one is ordered After=network-online.target.
# Without this, systemd-networkd-wait-online blocks on the (not-yet-existing) ZT link until its
# 120s timeout, delaying boot and ZeroTier by ~2min every reboot. Real uplink readiness is
# covered by NetworkManager-wait-online, not networkd. Drop-in (manager regenerates the main file).
RequiredForOnline=no