Files
tailscale/cmd
Kabir Sikand 15652c4e27 cmd/tailscale/cli: kick off login after Start in tailscale join
LocalClient.Start applies prefs and stashes the auth key but does
not actually drive a login: when the daemon has no node key it
transitions NoState -> NeedsLogin and waits. tailscale up handles
this by calling StartLoginInteractive immediately after Start when
HaveNodeKey is false (see cmd/tailscale/cli/up.go:683-688). join
omitted that call, so the join command would print "Bound to
blueprint bp:<id>" while the daemon silently sat in NeedsLogin
without ever registering the node against the control plane.

Always kick the login from join. The earlier status check refuses
to run if BackendState is Running, so by the time we reach Start
we know we are doing a fresh registration; there is no
HaveNodeKey case worth preserving.

Updates #cleanup

Signed-off-by: Kabir Sikand <[email protected]>
2026-05-18 17:48:42 +00:00
..