-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Intel macOS qemu_podman-machine-default.sock: connect: no such file or directory #13609
Comments
On darwin and other BSD operation system the maximum path length for the socket path seems to be 104 chars. On linux it is 108 chars. Your path is 105 chars long. Can you try to create a user with a shorter name and see if this works? |
consider the following:
|
wooh, @Luap99 nice find. |
@baude Maybe this workaround helps: podman/cmd/rootlessport/main.go Lines 201 to 217 in f049cba
But I have no idea if this would work on darwin. |
verified on my m1 that indeed the long name throws the same errors. |
i got this one ..,. |
Unfortunately this is not possible. But my issue is that the files / sockets is not there at all `Last login: Wed Mar 23 15:14:37 on ttys001 ➜ ~ ls -l /Users/vassilisanagnostopoulos/.local/share/containers/podman/machine/podman-machine-default ➜ ~` |
This does not seem to work ➜ ~ podman init --now foo |
use |
Works now. Thank you. |
if the machine name is long and/or the username is long, it is possible to exceed the 104byte limit for filenames in MacOS. This PR shortcuts things to $HOME/.podman instead. Fixes: containers#13609 [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <[email protected]>
You should still be able to use |
to avoid errors on macos, we use symlinks to long socket names. Fixes: containers#12751 Fixes: containers#13609 Signed-off-by: Brent Baude <[email protected]> [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <[email protected]>
mac apple A1 , podman 4.3.1
podman machine ssh
|
Reopening because this issue is still happening with GHA runners as today, see https://github.com/ansible/vscode-ansible/actions/runs/4005037985/jobs/6874912745
I think that the command that caused it to fail was |
@baude Any idea what could have cause this regression? What can we do to make the podman initialization reliable on GHA? |
this is sort of a general error for "something went wrong". it is entirely possible that it is different than this issue .... does removing the machine and recreating it help? |
While ok locally, turn-in-off-and-on does not really work with GHA. Still, I observed that while it does reproduce, it does not always reproduce, so there is a level of randomness in it. If you could provide some hints regarding how we can get extra logs when happens, I might be able to alter the GHA pipelines to collect the extra information. If we manage to get podman to be reliable on GHA, we might have a chance on convincing github to add it to the default runner image. |
Due to podman bootrapping flakiness on Github Runners, we make the macos testing non-voting for the final outcome. We continue to run it order to see how it evolves in time, hopefully find a permanent fix for it. Related: containers/podman#13609
Due to podman bootrapping flakiness on Github Runners, we make the macos testing non-voting for the final outcome. We continue to run it order to see how it evolves in time, hopefully find a permanent fix for it. Related: containers/podman#13609
Due to podman bootrapping flakiness on Github Runners, we make the macos testing non-voting for the final outcome. We continue to run it order to see how it evolves in time, hopefully find a permanent fix for it. Related: containers/podman#13609
My system (m1 mac) hit an out of memory condition while podman was running which led to this issue on startup #16945 , rebooted and then podman won't startup now hitting the error in this issue :/ Any workaround that does not involve wiping the original podman machine?
|
Agree this should be fixed but an easy workaround for M1 mac users
|
That has been fixed in the meantime, closing. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I upgraded my podman with brew to 4.0.2. I tried to use it but it does not work.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
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? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Darwin C02CH2W2MD6R.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
The text was updated successfully, but these errors were encountered: