mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-09 11:52:00 -04:00
When containerboot falls behind on the IPN bus, tailscaled closes the watch. containerboot treated the EOF as fatal and SIGTERMed a healthy tailscaled, which is easy to hit on large, churny tailnets. Instead, reconnect and rebuild state from the new watch's initial status, and only request peer changes in modes that use them. If the watch can't be reopened for a minute, exit so a dead tailscaled still restarts the container. Fixes #21373 Change-Id: Iad7749e4fd0f43eabdb471d6e64bb43f37ff70ff Signed-off-by: Raj Singh <raj@tailscale.com>