-
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
Podman 5.3.0 win-sshproxy.tid: The system cannot find the file specified. (install via scoop) #24557
Comments
Calling
|
It helps when you provide |
@l0rd thoughts ? |
In my case, yes. My |
Edit: Apologies, forgot I had downgraded back to 5.2.5 when I dumped all this information. It is now updated with the info dump from 5.3.0 when I was having this issue. |
Yup. Podman machine runs in the WSL2. |
Also might be worth mentioning that my podman setup was installed via |
Great point. And that's my installation method (via scoop) as well. |
We were able to reproduce this issue with @jeffmaury. The problem was related to the Can you please provide the output of the command |
@l0rd Here you go:
|
Thank you. No we were not able to reproduce your error then. The problem was a different one related to the SSH config. We will try to reproduce it using scoop. |
It looks like if Podman is installed via winget, win-sshproxy works perfectly fine. I suspect this issue is specific to podman installation via scoop. |
I'll try installing via |
Thank you @johnnykang for checking. And you are right, that should be the problem. The version of gvproxy has been updated in 5.3 but the scoop installer extracts podman.exe, not gvproxy from the installer. @baude any idea who maintains the podman scoop bucket? From git history it looks @niheaven is the last one that have updated it. |
@glektarssza @johnnykang out of curiosity: why are you installing via scoop rather than winget? |
I've been a long time user of I'm not opposed to changing but it would be a bit of a pain to migrate everything over at this point depending on what is and is not available in the |
i do not know who maintains scoop. |
I believe it's maintained by the community who uses it via a collection of GitHub repositories under the https://github.com/orgs/ScoopInstaller organization. At least that's what their website (https://scoop.sh) seems to indicate down at the bottom. |
Actually, I stand corrected. Their website links specifically to https://github.com/orgs/ScoopInstaller/people as the maintainers. |
I can reproduce after having installed Podman through scoop |
due to the fact that this issue only occurs when Podman is installed via scoop, i would like to close this issue as i don't believe the team is responsible for fixing it. closing. |
I opened ScoopInstaller/Main#6327. Hopefully they can figure this out on their end. |
Hi all, Scoop uses bundled version of And in my |
Mine output "The system cannot find the path specified." in the startup message. It is not an obvious message, but it warned me that the Docker API stopped working. |
Oh yes, same output, really not obvious :) So which one should |
Just do scoop uninstall podman and winget install podman. all configurations should still in effective and ready to use with all your existing containers. Try that at your own risk. It worked that that way on my machine ™️ |
An error occurs when Podman is initiated from a Windows junction folder, as with Scoop's setup (where Podman starts from Are there recent commits that change this behavior? |
@niheaven, we came to the same conclusion after doing some tests with @jeffmaury today. The workarounds we found when the provider is Hyper-V:
[engine]
helper_binaries_dir=["<scoop-app-dir>\podman\5.3.0"]
When Podman starts from a junction it fails to find the |
Is it necessary? I've noticed that the executables are identical between Winget and Scoop.
I'll try this and it should be done during Scoop installation. |
No, I don't think that's necessary. If you create the configuration file, you don't need to move the files there.
Right, I think that's the best solution at the moment. We should figure out the root cause of the problem and eventually provide a fix (in Podman), but in the meantime, I think it's better to create the configuration file. |
Okay, let's wait for the fix, but for now, a hotfix in Scoop's manifest works quite well. |
Another question. If my scoop installation is at
Ping @l0rd |
@johnnykang I think scoop is just the messenger here. There was a change in go 1.23 changing the behavior of |
I have a self-maintained scoop bucket, with podman https://github.com/specter119/scoop-dsms/blob/main/bucket/podman.yml and tried 2 following solutions, neither works:
I have fixed the issue in the official repo (like only extract podman.exe ) and tried the above approaches. It seems that there are some remaining issues in the podman side, at least a proper config different with previous. |
A few more informations. Indeed after this change introduced in go v1.23, The good news is that setting the env Othewise, the workarounds I have mentioned above, and in particular configuring [engine]
helper_binaries_dir=["C:\\Users\\<username>\\scoop\\apps\\podman\\5.3.0\\"]
[machine]
provider="hyperv" For WSL, a workaround is to change $env:PATH="C:\Users\<username>\scoop\apps\podman\5.3.0\;$env:PATH" but setting |
In go 1.23 filepath.EvalSymlink(path) behavior has changed and it returns an error if path is a Windows junction. The new behavior breaks some functionalities (see containers#24557). The GODEBUG option `winsymlink=0` allow to get run `EvalSymlink` with its legacy behavior. Signed-off-by: Mario Loriedo <[email protected]>
Since I'm unsure whether other applications utilize |
Issue Description
after upgrading to the Podman 5.3.0 (via scoop), when starting the podman machine, there is a message
API forwarding for Docker API clients is not available due to the following startup failures.
The system cannot find the path specified.
it turned out that the c:<user_profile>.local\share\containers\podman\machine\wsl\podman-machine-default\win-sshproxy.tid is not created.
Downgrading to Podman 5.2.5 , the message is gone.
Podman machine runs in WSL2.
Steps to reproduce the issue
As above in the description
Describe the results you received
As above in the description
Describe the results you expected
podman machine starts and API forwarding for Docker API clients on Windows machine works as expected without error message.
podman info output
Podman 5.3.0
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: