-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 machine fails with qemu 7.0.0 on M1 mac #102242
Comments
What made you think this is a packaging issue? |
I'm not stating that it is packaging issue. It might be upstream (probably it is in fact). For now I'm only reflecting, that this version bump could be breaking for end users of Homebrew. And that there is no easy way of downgrading version (liek As I can't allow to have this machine in broken state I will need to build qemu from sources to check upstream and report it there. This will take some time. If you consider this is not an issue for Homebrew - it is ok to close this one and I will focus to reporting this upstream. |
Will post a workaround, which worked for me, so, others facing it could have some help.
Notes: you might first need to uninstall updated version (ignoring packages, which depends on it) Example for arm64 monterey:
|
Once installed arm64_monterey version of qemu 6.2 I can't launch
But it works when I install x86? version of qemu 6.2 (monterey:"d086496727bc70e98e33c48d7815d39a113ebeccb45a6958dacad8cb7e388e8f") by the command with another sha256:
But this version doesn't solve the main issue with
Has anyone faced with the same issue? |
@disc Could it be that your brew installation was migrated via backup restore from Intel Mac? Because this behavior looks weird. |
@arixmkii I think so, I'm going to update Brew by this instruction: |
Yes, it works once I reinstalled Homebrew on M1 mac |
Might be a podman config issue after all containers/podman#14303 (comment) Manually changing podman machine settings after creation allowed me to run latest podman and latest qemu from brew Should brew consider adding a patch to podman formula then or just wait for podman fixes? Should I rename this or create a new issue? |
If podman makes a patch we can include it in the formula. |
@SMillerDev I don't really know the acceptable form for patches. They created a PR containers/podman#14563 Probably this commit could be of some use. |
@arixmkii @SMillerDev I can handle getting the patch in once the PR merges! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Updated qemu to 7.0.0 and tried to use podman (from homebrew)
What happened (include all command output)?
Commands
It fails. If I enable debug output of podman i can get qemu command and if I run it in console it fails with error message "can't get socket option SO_TYPE"
What did you expect to happen?
Everything works and machine starts just fine. Like it was with 6.2.0_1. I reverted to manually downloaded bottle 6.2.0_1 and it works now.
Step-by-step reproduction instructions (by running
brew
commands)Machine is not started.
The text was updated successfully, but these errors were encountered: