Files
breken 3945b82f8a paths: return an absolute default socket path on Android
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>
2026-09-08 18:40:37 -07:00
..