Repository navigation
Conversation
Use a private Unix socket for standalone Podman and Kubernetes driver services. Local TCP development now requires an explicit address and opt-in. BREAKING CHANGE: standalone invocations relying on the default TCP listener must configure --bind-socket or pass --allow-unauthenticated-tcp with --bind-address. Signed-off-by: Adrien Langou <alangou@nvidia.com>
Signed-off-by: Adrien Langou <alangou@nvidia.com>
elezar
reviewed
Nov 30, 2026
Comment on lines
+70
to
+71
| The driver sets the socket's parent directory to mode `0700`, even if it already exists. | ||
| If you used the default TCP listener for |
Contributor
There was a problem hiding this comment.
Should the driver set the permissions on a folder that already exists?
Contributor
|
Heads-up: this PR changes both files in paths that are frozen in this repository while the Docker, Podman and VM drivers move to ai-openshell/desktop, and files that stay in core. The move is tracked in #5200, and this PR in #6167. Frozen files in this PR: The |
10 of 59 tasks
Signed-off-by: Adrien Langou <alangou@nvidia.com>
Create missing directories privately and reject group- or world-writable socket parents before replacing a stale socket. Preserve existing directory modes and keep setting the socket itself to 0600. Signed-off-by: Adrien Langou <alangou@nvidia.com>
alangou
marked this pull request as ready for review
December 4, 2026 11:46
Keep the Kubernetes listener and the shared socket API in core. Preserve the directory contract of existing callers until desktop drivers adopt the new API. Signed-off-by: Adrien Langou <alangou@nvidia.com>
Signed-off-by: Adrien Langou <alangou@nvidia.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Standalone Kubernetes drivers now require a private Unix socket or an explicit TCP bind address and opt-in. The shared listener helper preserves an existing socket directory's permissions, rejects a parent writable by the group or others, and keeps the socket at
0600.The Podman port and Docker/Podman socket changes are in ai-openshell/desktop#35. The desktop draft depends on this shared API. Merge this PR first, then update the desktop dependency to the integrated core revision. This is the core part of the split tracked in #6167.
Release Notes
Standalone Kubernetes services that relied on the default TCP listener must configure
--bind-socket PATHor, for local TCP development, both--allow-unauthenticated-tcpand--bind-address.Testing
0755, shared-writable and newly created directories.serve_configuretests underumask 0002.