-
Notifications
You must be signed in to change notification settings - Fork 198
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
Prioritize addtionalHelperBinariesDir over default dirs #1754
Conversation
Tested by building with With this fix:
Without this fix:
|
@benoitf PTAL |
LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ashley-cui, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@cfergeau PTAL |
Sure, LGTM |
I would also change
but also LGTM |
hello, I patched the file in podman I used
then installed it if I run it, now I can see that it's using gvproxy from the
also I'm not sure to follow why it's using |
update: it works with a fresh machine, but not with an existing machine so somehow the path to qemu is persisted in the machine configuration I don't know if it's a feature or a bug but I would expect that it should not store the path to the qemu binary |
When addtionalHelperBinariesDir is set, first search that path for helper binaries, then the default locations. Signed-off-by: Ashley Cui <acui@redhat.com>
/lgtm |
@cfergeau: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
this will be part of podman 5; i dont intend to change the behavior of the config files for podman 4.x. while this seems obvious to do this not that PD is part of the equation, the fully qualified binary path was done to protect against the opposite of this problem ... that is to say, a new qemu binary is found somewhere and chosen over the known working one. |
/lgtm |
I'm fine to not have that in 4.x but if it's taken into account for 5.x |
@ashley-cui do you know when it'll land into podman main branch (because it's using an old version of containers/common there) |
it can be vendored whenever you want ... the main branch is podman 5 now |
@baude yes I'm using podman main branch this week (5.0.0-dev) 👍 (just I think it's more convenient when the patch is already included and not having to include it by myself) @ashley-cui thanks |
hello it does not seem to have been backported to 4.8.x branch |
was it asked for ? |
actually history suggestions you were fine with that ?? |
it has been asked there I replied that I was OK for the storage of qemu binary location in the machine definition for 4.x and that it could wait for 5.x |
/cherry-pick v0.57 |
[0.57] backport #1754 + v0.57.1
When addtionalHelperBinariesDir is set, first search that path for helper binaries, then the default locations.
Closes: containers/podman#20808