-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman --runroot: remove 50 char length restriction #22277
Conversation
This was added ages ago in commit c65b359, however in the meantime both podman and conmon can support longer socket paths as they use a workaround to open the path via /proc/self/fd, see openUnixSocket() in libpod/oci_conmon_attach_linux.go Thus this restriction is not needed anymore and we can drop a workaround in the tests. Fixes containers#22272 Signed-off-by: Paul Holzinger <[email protected]>
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, Luap99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
447d3e2
into
containers:main
Thank you for this! Quick followup for posterity: although this seems to fix podman,
Not a big deal, since it's slirp, but it does mean we can't use long tmpdir paths in CI tests. |
We can report this to slirp4netns, the workaround we use is easy enough to implement there as well. Also it seems to only effect the slirp4netns port_handler (not the default rootlesskit) so it should work fine for most users. |
This was added ages ago in commit c65b359, however in the meantime both podman and conmon can support longer socket paths as they use a workaround to open the path via /proc/self/fd, see openUnixSocket() in libpod/oci_conmon_attach_linux.go
Thus this restriction is not needed anymore and we can drop a workaround in the tests.
Fixes #22272
Does this PR introduce a user-facing change?