You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn/localapi
Andrew Lytvynov c679aaba32
cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883)
With the introduction of node sealing, store.New fails in some cases due
to the TPM device being reset or unavailable. Currently it results in
tailscaled crashing at startup, which is not obvious to the user until
they check the logs.

Instead of crashing tailscaled at startup, start with an in-memory store
with a health warning about state initialization and a link to (future)
docs on what to do. When this health message is set, also block any
login attempts to avoid masking the problem with an ephemeral node
registration.

Updates #15830
Updates #17654

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2 weeks ago
..
cert.go feature/featuretags, all: add ts_omit_acme to disable TLS cert support 3 months ago
debug.go types/key,wgengine/magicsock,control/controlclient,ipn: add debug disco key rotation 2 weeks ago
debugderp.go feature/featuretags: add a catch-all "Debug" feature flag 2 months ago
disabled_stubs.go all: update copyright and license headers 3 years ago
localapi.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 weeks ago
localapi_drive.go feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 3 months ago
localapi_test.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 weeks ago
pprof.go cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted 2 months ago
serve.go all: add ts_omit_serve, start making tailscale serve/funnel be modular 3 months ago
syspolicy_api.go feature/featuretags: add a catch-all "Debug" feature flag 2 months ago
tailnetlock.go all: rename variables with lowercase-l/uppercase-I 2 weeks ago