-
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
unable to create/run a podman machine using libkrun provider with podman 5.3.0 #24559
Comments
it seems related to containers/krunkit#17 or any other fixes made in this repository as I'm able to start using a version compiled from the main branch |
Starts fine on my system but I don't have macos 15 installed. |
@Luap99 yes it does not seem to affect all the person using macOS But with 5.2.5 it works on my computer and not with 5.3.0 using krunkit |
Taking a look |
I'm unable to reproduce by installing 5.3 from the installer on macOS 15.1. I'm still able to start a machine with krunkit v0.1.3 and podman 5.3 |
@benoitf have you tried using the upstream main branch of krunkit to see if that solved your issue? There's been a few commits to deal with memory limits and it will provide a |
it seems the issue is with machine with a lot of memory (so not all computers are affected) and yes I'm able to start with the main branch krunkit without the latest patch (fixing some memory issues), but the patch with krun-log-level I have
|
@jakecorrenti this is what I was referencing there: #24559 (comment) |
I missed that comment. Seems like we might need to make a krunkit 0.1.4 |
Bump the bundled krunkit version from 0.1.3 to 0.1.4. Fixes: containers#24559 Signed-off-by: Sergio Lopez <[email protected]>
Thanks for fixing. Do you know if this is already available? Should podman-desktop update to it automatically soon or can/should I update manually? |
We will create a new 5.3.1 release with the fix included likely on Thursday, then you and/or podman-desktop need to update to that version. |
5.3.1 release will be released as part of Podman Desktop 1.15 (but you'll be to find nightly releases of Podman Desktop including it as soon as 5.3.1 is published. Or you will be able to use the installer from Podman directly) For now either you need to rollout to podman v5.2.5 if you're facing the issue or upgrade manually to krunkit 0.1.4 workaround: grab krunkit 0.1.4 from https://github.com/containers/krunkit/releases/tag/v0.1.4 copy the file to at your own risk, reset the entitlements/signature to make macOS happy (clone first https://github.com/containers/krunkit to ~/git/containers/krunkit/ and then)
then the command |
Thanks, though I think I'm gonna wait for now. Is it possible that the krunkit from releases was compiled for macos sdk 15 or so? I am still on sonoma and it gave an error like that it required a newer os. I managed to compile krunkit manually with libkrun-efi from homebrew, but on starting it, it doesn't find libvirgl and its other libs. But no worries I can wait. |
@step21 you could try now https://github.com/containers/podman/releases/tag/v5.3.1 |
Issue Description
Creating/starting a podman machine using libkrun on macOS I have the following error
Error: krunkit exited unexpectedly with exit code 1
Steps to reproduce the issue
Steps to reproduce the issue
download and install podman 5.3.0 from the releases page on macOS (sequoia 15.1)
Describe the results you received
Error: krunkit exited unexpectedly with exit code 1
Describe the results you expected
machine starts
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Tried with --log-leve=DEBUG and got this terminal window (and the command is hanging)
If I switch to podman v5.2.5 I'm able to create and start podman machines
The text was updated successfully, but these errors were encountered: