`podman machine start` fails
I have qemu 8.0.3 installed. Smells like a relocatability issue, but I can't see how since it is looking at my tea installation and not /opt/qemu.org it's just the version is wrong. wtf?
I checked otool output and it all looks fine.
Did you maybe run podman machine init with the prior version of qemu installed?
$ rg qemu ~/.config/containers/podman/machine/qemu/podman-machine-default.json
3: "Path": "/Users/jacob/.config/containers/podman/machine/qemu/podman-machine-default.json"
6: "/Users/jacob/.tea/qemu.org/v8.0.3/bin/qemu-system-aarch64",
12: "name=opt/com.coreos/config,file=/Users/jacob/.config/containers/podman/machine/qemu/podman-machine-default.ign",
36: "file=/Users/jacob/.tea/qemu.org/v8.0.3/share/qemu/edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on",
38: "file=/Users/jacob/.local/share/containers/podman/machine/qemu/podman-machine-default_ovmf_vars.fd,if=pflash,format=raw",
46: "if=virtio,file=/Users/jacob/.local/share/containers/podman/machine/qemu/podman-machine-default_fedora-coreos-38.20230709.2.0-qemu.aarch64.qcow2"
51: "Path": "/Users/jacob/.config/containers/podman/machine/qemu/podman-machine-default.ign"
55: "Path": "/Users/jacob/.local/share/containers/podman/machine/qemu/podman-machine-default_fedora-coreos-38.20230709.2.0-qemu.aarch64.qcow2"
That seems odd to fix. It's pulling from the $PATH I'm sure. Perhaps tea should inject ~/.tea/.local/bin first in the path, instead of last? but that'll break lots of other things.
no I only had 8.0.3 installed
Did you just run podman init? Or did you run it some time ago? My guess is it's in your json config.
My guess is it's in your json config
ah let me check for that sort of thing
oddly the json refers to v8.0.0
{
"ConfigPath": {
"Path": "/Users/mxcl/.config/containers/podman/machine/qemu/podman-machine-default.json"
},
"CmdLine": [
"/Users/mxcl/.tea/qemu.org/v8.0.0/bin/qemu-system-aarch64",
in 2 places, no refs to any other versions wtf
is that your /Users/mxcl/.config/containers/podman/machine/qemu/podman-machine-default.json?
that is correct
Very weird. That's where I'd expect to see it have hardcoded the qemu version. possibly re-running init will just fix it, but that's not how one is meant to use it, one assumes.