-
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
Failure to connect to container's attach socket #10011
Comments
conmon-2.0.27-1.fc34.x86_64 and Podman 3.1.0 - this should have the fixes in both Podman and Conmon. @haircommander @giuseppe Any ideas here? Per the report, we regressed on this since 3.0.0, but I don't see any changes that would have done that. |
hm this is unexpected... |
wait is the XDG_RUNTIME_DIR being changed by snap? I would not expect snap.code to be in that path |
since @haircommander mentioned XDG_RUNTIME_DIR, I found this issue made on vscode. Maybe it's a snap packaging thing? Is this helpful? My system shows this: > echo $XDG_RUNTIME_DIR
/run/user/1000 |
did this work around help you microsoft/vscode#95384 (comment) |
@haircommander Do you mean trying this? > export XDG_RUNTIME_DIR=/run/user/1000/snap.code
> podman run -it --rm node
Error: sd-bus call: Permission denied: OCI permission denied |
> export XDG_RUNTIME_DIR=/run/user/1000
> podman run -it --rm node
Error: failed to connect to container's attach socket: /run/user/1000/snap.code/libpod/tmp/socket/a752790ad4b1ca700969f830d15d264f21d7d2422cf1a8115d24042439e4789e/attach: no such file or directory socket filename: > ls /run/user/1000/snap.code/libpod/tmp/socket
a752790ad4b1ca700969f830d15d264f21d7d2422cf1a8115d24042439e4789 Does the socket filename being short by the last letter affect anything? |
ah! that should be fixed by #8979 (which I have not had the cycles to push through) |
A friendly reminder that this issue had no activity for 30 days. |
Since that PR has merged, I am going to assume this is fixed. |
I am an intern working on a dashboard application for the OpenShift Performance and Scale team. I use
podman
for containerized development and deployment. This issue has come up for me before now, but appeared to be resolved by upgradingpodman
from 2.x to 3.0.0.Steps to reproduce the issue:
podman -it run node
Describe the results you received:
Error: failed to connect to container's attach socket: /run/user/1000/snap.code/libpod/tmp/socket/0bfea2ffb6974989ab5d39809cb5188ee524de858cd9c6c3714ef5fc113fe5a5/attach: no such file or directory
Describe the results you expected:
A container running some version of NodeJS.
Additional information you deem important (e.g. issue happens only occasionally):
I have installed snap, and
vscode
through snap. Thesnap.code
directory seems to come up in situations where those two co-occur.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
physical, Lenovo Thinkpad T490s, i7
The text was updated successfully, but these errors were encountered: