Skip to content

defaultHelperBinariesDir doesn't play well with new Podman installer on Windows #27603

@arixmkii

Description

@arixmkii

Issue Description

It has been hardcoded in the past, but since the install directory was moved into user specific location this default is not relevant anymore. It probably should have no default + override set by the installer itself.

It might have already workarounds present for WSL and Hyper-V, so, the issue would not manifest, but it still could manifest in the future.

For my scenario it manifested in QEMU code, which uses shared common lookup on all platforms (no platform specifics in this code path)

The code in question is located at https://github.com/containers/common/blob/a5ccdae846b629b5ceaefa6ffd5c6511409c3487/pkg/config/config_windows.go#L34

Steps to reproduce the issue

Steps to reproduce the issue

  1. Compile Podman with QEMU support on windows and build modern installer
  2. Install Podman, setting default machine provider to QEMU
  3. Create and start Podman machine

Describe the results you received

Error starting machine, because gvproxy could not be found.

Describe the results you expected

Machine started. This would probably still be the case with legacy installer.

podman info output

Don't have this output, but it was a build with patches applied on top of v5.7.0 tag.

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Windows machine with QEMU installed.

Additional information

QEMU is not officially supported, but this default still doesn't make sense and could manifest later if code from common is reused for some feature.

Also, one of the goals of the new installer was to move away from vendor specific location, because of the project aiming for more vendor neutrality migrating to CNCF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.windowsissue/bug on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions