Report missing platform emulation from doctor #18

Open
opened 2026-08-03 13:18:01 +00:00 by day01 · 0 comments
Owner

On the runner host qemu-aarch64 was registered with the F flag by a
manual container run: the interpreter file did not exist, /etc/binfmt.d was
empty and no qemu package was installed. The registration lived only in kernel
memory, so the first reboot would have broken multi-platform releases with an
exec format error deep inside a build.

syncode-runner doctor reports a healthy host in that state. It should check
that every platform the runner is asked to build has a usable binfmt handler,
and say so when it does not.

The host side is fixed by syncode-runner-binfmt.service in the infra
repository; this issue is about the runner noticing.

On the runner host `qemu-aarch64` was registered with the `F` flag by a manual container run: the interpreter file did not exist, `/etc/binfmt.d` was empty and no qemu package was installed. The registration lived only in kernel memory, so the first reboot would have broken multi-platform releases with an `exec format error` deep inside a build. `syncode-runner doctor` reports a healthy host in that state. It should check that every platform the runner is asked to build has a usable binfmt handler, and say so when it does not. The host side is fixed by `syncode-runner-binfmt.service` in the infra repository; this issue is about the runner noticing.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: syncode/runner#18