mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-13 06:19:11 -04:00
Android has no /var, so DefaultTailscaledSocket fell through to the cwd-relative "tailscaled.sock": the daemon created its socket wherever it was started and the CLI looked for one wherever it was started, and the two only agreed by coincidence (reproduced on Termux in #21161). Return os.TempDir()/tailscaled.sock on Android - the shared per-app temp directory, following the same pattern as the existing QNAP /tmp default - so daemon and CLI agree on an absolute path. Fixes #21161 Signed-off-by: breken <hi@breken.ai>