Skip to content

Comments

Fix root daemon access when running with embedded root daemon#4050

Merged
thallgren merged 1 commit intorelease/v2from
thallgren/embedded-root-failure
Feb 9, 2026
Merged

Fix root daemon access when running with embedded root daemon#4050
thallgren merged 1 commit intorelease/v2from
thallgren/embedded-root-failure

Conversation

@thallgren
Copy link
Member

Summary

  • Fix RootDaemonVersion to return the local version directly when root daemon is embedded (in-process)
  • Fix withRootDaemon to delegate to the session's WithRootClient when a session is available, instead of returning an "embedded" error

Closes #4049

Test plan

  • Run telepresence connect on Windows in an elevated (administrator) terminal
  • Verify telepresence loglevel and other commands work with embedded root daemon
  • Verify non-elevated terminal still works as before

@thallgren thallgren force-pushed the thallgren/embedded-root-failure branch from a146865 to 30e6856 Compare February 8, 2026 15:47
When the user daemon runs with an embedded root daemon (e.g., in Docker
mode), calls to RootDaemonVersion and withRootDaemon failed because they
didn't account for the in-process root session. RootDaemonVersion now
returns the local version directly, and withRootDaemon delegates to the
session's WithRootClient when a session is available.

Signed-off-by: Thomas Hallgren <thomas@tada.se>
@thallgren thallgren force-pushed the thallgren/embedded-root-failure branch from 30e6856 to b9dffa5 Compare February 8, 2026 20:54
@thallgren thallgren added the ok to test Applied by maintainers when a PR is ready to have tests run on it label Feb 8, 2026
@github-actions github-actions bot removed the ok to test Applied by maintainers when a PR is ready to have tests run on it label Feb 8, 2026
@thallgren thallgren merged commit 93f96f1 into release/v2 Feb 9, 2026
10 checks passed
@thallgren thallgren deleted the thallgren/embedded-root-failure branch February 9, 2026 02:56
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.

Telepresence fails when ran as admin on Windows with "root daemon is embedded"

1 participant