Skip to content
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

On Windows, podman machine provider config file gets deleted during an update #23244

Open
l0rd opened this issue Jul 10, 2024 · 1 comment · May be fixed by #23328
Open

On Windows, podman machine provider config file gets deleted during an update #23244

l0rd opened this issue Jul 10, 2024 · 1 comment · May be fixed by #23328
Labels
jira kind/bug Categorizes issue or PR as related to a bug. windows issue/bug on Windows

Comments

@l0rd
Copy link
Member

l0rd commented Jul 10, 2024

Issue Description

On a fresh Podman v5.1 installation, the windows installer creates the file $env:programdata\containers\containers.conf.d\99-podman-machine-provider.conf where the machine provider is specified.

The file gets deleted when upgrading to v5.2. As a consequence, after the upgrade, podman will use the default machine provider (WSL), even if the user had selected Hyper-V during v5.1 installation.

Steps to reproduce the issue

  1. Run the windows installer (podman-5.1.1-setup.exe)
  2. Check that the machine provider config file exists
  3. Run a more recent version of the windows installer (i.e. the manually built podman-5.2.0-dev-setup.exe)

Describe the results you received

The machine provider config file is deleted

Describe the results you expected

The machine provider config file should be there.

podman info output

N/A

Podman in a container

No

Privileged Or Rootless

None

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

@l0rd l0rd added kind/bug Categorizes issue or PR as related to a bug. jira windows issue/bug on Windows labels Jul 10, 2024
@l0rd
Copy link
Member Author

l0rd commented Jul 10, 2024

I have started a discussion on the best way to solve this problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira kind/bug Categorizes issue or PR as related to a bug. windows issue/bug on Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant