Skip to content

Conversation

@DentonGentry
Copy link
Contributor

@DentonGentry DentonGentry commented Sep 28, 2023

1.50.0 switched containerboot from using tailscale up to tailscale login. A side-effect is that a re-usable authkey is now re-applied on every boot by tailscale login, where tailscale up would ignore an authkey if already authenticated.

Though this looks like it is changing the default, in reality it is setting the default to match what 1.48 and all prior releases actually implemented.

Fixes #9539
Fixes https://github.com/tailscale/corp/issues/14953

@DentonGentry DentonGentry requested a review from maisem September 28, 2023 18:57
Copy link
Contributor

@maisem maisem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update line 38 too

@DentonGentry DentonGentry force-pushed the dgentry-auth-once branch 3 times, most recently from 63b38ef to e086939 Compare September 29, 2023 02:44
@DentonGentry
Copy link
Contributor Author

Updated comment on line 38.

// container starts.
// logged in. If false, forcibly log in every time the container starts.
// The default until 1.50.0 was false, but that was misleading: until
// 1.50, containerbook used `tailscale up` which would ignore an authkey
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been doing so much in German recently I'm surprised this didn't come out as Containerbuch.

1.50.0 switched containerboot from using `tailscale up`
to `tailscale login`. A side-effect is that a re-usable
authkey is now re-applied on every boot by `tailscale login`,
where `tailscale up` would ignore an authkey if already
authenticated.

Though this looks like it is changing the default, in reality
it is setting the default to match what 1.48 and all
prior releases actually implemented.

Fixes #9539
Fixes https://github.com/tailscale/corp/issues/14953

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tailscale 1.50 + Tailnet Lock: machine has already been registered

2 participants