Skip to content

Upgrade QEMU to 10.1.3 / fix tar+fcntl+openat2 issue on musl aarch64#287

Open
chadlwilson wants to merge 3 commits intotonistiigi:masterfrom
chadlwilson:qemu-10-1-3-fnctl-patch
Open

Upgrade QEMU to 10.1.3 / fix tar+fcntl+openat2 issue on musl aarch64#287
chadlwilson wants to merge 3 commits intotonistiigi:masterfrom
chadlwilson:qemu-10-1-3-fnctl-patch

Conversation

@chadlwilson
Copy link

@chadlwilson chadlwilson commented Jan 20, 2026

This PR augments #283 in order to

Other Notes

As a side effect to make this happen

  • Upgrades to Alpine 3.23 and go 1.25 (tests left as-is)
  • Fixes an issue with bringing in crossarch busybox-static on Alpine 3.23
    • older approach no longer works and will give execve format error during busybox triggers, since apk tries to upgrade/replace all existing installs with the new arch; breaking the crossarch builder stage
    • uses an alternate apk --root to install the cross-arch busybox-static instead
  • Upgrades golanglint-ci to v2 (used golangci-lint migrate to migrate config as-is)

None of the direct-execve patches have been altered from their 10.0 versions.

Testing

Tests/builds all passing on my fork at https://github.com/chadlwilson/binfmt/actions/runs/21165537732

jchzhou and others added 3 commits January 20, 2026 16:24
Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
… 1.25

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
Avoids changes in Alpine 3.23's apk-tools which causes the earlier arch change to reinstall all binaries into the primary root and prevents tje stage's bash/busybox from working

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
@chadlwilson
Copy link
Author

FWIW i tried upgrading the tests golang version and pkg dependencies but there is an issue with the scheduling tests that needs some work so I dropped it to keep this more focused

I also tried upgrading the main vendored dependencies which also worked fine but also left aside due to distracting from core goal.

@chadlwilson chadlwilson changed the title Upgrade QEMU to 10.1.3 fixing tar/fcntl/openat2 issue on musl aarch64 Upgrade QEMU to 10.1.3 / fix tar/fcntl/openat2 issue on musl aarch64 Jan 20, 2026
@chadlwilson chadlwilson changed the title Upgrade QEMU to 10.1.3 / fix tar/fcntl/openat2 issue on musl aarch64 Upgrade QEMU to 10.1.3 / fix tar+fcntl+openat2 issue on musl aarch64 Jan 20, 2026
@chadlwilson
Copy link
Author

Any thoughts on this @tonistiigi or @crazy-max - now that the tests are all passing? 🙏

@ggjulio
Copy link

ggjulio commented Jan 29, 2026

@tonistiigi @crazy-max ? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to run tar on aarch64 when using QEMU compiled by tonistiigi/binfmt

3 participants