I'm in a rather...special situation. I am the firs...
# rancher-desktop
f
I'm in a rather...special situation. I am the first person on a ARM based Mac on the team. I'm running into an issue where I am getting the
exec format error
. The issue is that the program that is trying to run is a 32-bit program, and there is no way to upgrade it to a 64-bit one at this time. I'm trying to figure out the best way for me to get this software running as part of a pod in K8S.
w
don't think there is any 32b support in Catalina and forward. https://support.apple.com/en-us/103076
if you are on a recent M-series than likely you can't drop back to Ventura which did support M1, but not modern releases
f
So there is no ability to install a different QEMU image or similar?
w
not aware of one that doesn't get rube goldberg. Hypothetically you could create a VM that uses an old macOS that could support 32b and then run RD inside of that. even if you use the qemu path on RD i think other parts of the RD orchestration will start acting up.
p
I think the 32-bit thing is just for mac (darwin) apps, not things you run in a Linux VM? For different versions of qemu, you can try running
tonistiigi/binfmt
(e.g. https://github.com/rancher-sandbox/rancher-desktop/issues/8606#issuecomment-2979109414 ) but that doesn't persist across RD restarts. So in your case maybe you can get away with a privileged pod (or provisioning script)…
f
I previously tried using binfmt install all, but it didn't seem to have any effect.
I will try the additional commands in that link tomorrow, as I'm messaging on my personal laptop.