Closed erw444 closed 1 day ago
The code seems to check if the file exists before using it, https://github.com/containers/podman/blob/main/pkg/machine/wsl/wutil/wutil.go#L26
Is there a reason why this path would exists but cannot be used? Regardless looking at the git history this was added as some work around for a CI issue so I wonder if we could drop it and juts default to wsl from $PATH.
A friendly reminder that this issue had no activity for 30 days.
Closing as no further feedback was given
Issue Description
Hello, It seems with Podman 5, there is a check to find WSL that defaults to the Windows Store version of WSL. Our company does not allow Windows Store applications as part of our security guidelines, so we have our users run with the built in version.
When we moved to Podman 5, this resulted in errors and having to delete the wsl symlink in APPData so that we could use the system built in version.
It would be nice if there was a config field to say which verison of wsl to use.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Recieved the following error when trying to start Podman. Error: fork/exec The process has no package identity
Describe the results you expected
Podman to start up successfully.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
No
Additional environment details
Podman version: 5.0.3
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting