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>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
cc25dee7e2
commit
118f2f2f5e
@@ -0,0 +1,7 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user