qemu: ask to sign QEMU binary when the binary is not properly signed#1743
Conversation
|
cc @lima-vm/maintainers I'll release v0.17.2 after merging this workaround. |
ee96eae to
a433811
Compare
|
Wouldn't this sign any random qemu binary in the path ? |
Sorry what do you mean? |
|
How do we know that the current qemu is the authentic homebrew ? But maybe this is not so much about authenticating the prebuilt binary, as it is about adding |
We may check if the binary path contains "/Cellar/" ? |
a433811 to
2a6cbfb
Compare
Workaround for issue 1742 . This workaround is needed because Homebrew's QEMU binary is not properly signed since v8.0.4. Signed-off-by: Akihiro Suda <[email protected]>
2a6cbfb to
c0b48a9
Compare
|
Modified to open a |
| "github.com/lima-vm/lima/pkg/driver" | ||
| "github.com/lima-vm/lima/pkg/driverutil" | ||
| "github.com/lima-vm/lima/pkg/qemu" | ||
| "github.com/lima-vm/lima/pkg/qemu/entitlementutil" |
There was a problem hiding this comment.
(I don't want to let pkg/start depend on a specific driver, but I'm going to merge this right now anyway, as the Homebrew issue #1742 is critical. We can refactor this later.)
|
On Mac Big Sur entitlement check exits on: Is there a way to turn off entitlements check all together? |
Addressed in: Will be in v0.19 |
Workaround for:
[hostagent] Driver stopped due to error: "signal: abort trap"(or"exit status 255") ...QEMU has already exited#1742This workaround is needed because Homebrew's QEMU binary is not properly signed since v8.0.4. Homebrew/homebrew-core#139409 (comment)