mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-04 11:08:53 +09: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
(cherry picked from commit 5f0cf87429)
Signed-off-by: Raj Singh <raj@tailscale.com>
Co-authored-by: Raj Singh <raj@tailscale.com>