balena-io / qemu

QEMU with additional QEMU_EXECVE flag that persists emulator after an execve
Other
63 stars 29 forks source link

alpine linux apk cannot intercept execve #2

Closed forumi0721 closed 7 years ago

forumi0721 commented 8 years ago

hi i use your qemu and golang build bins to create alpine arm linux docker container but it cannot intercept execve in apk source, apk forks script #/bin/sh script using execve

schmich commented 7 years ago

This issue should probably be closed. This is fixed by #8, but the fix is already present in the source, see https://github.com/resin-io/qemu/blob/qemu-execve/linux-user/syscall.c#L5946.

The compiled qemu-arm-static binary in the armv7hf-debian-qemu repo does not include this fix, so you'll need to build qemu-arm-static yourself until it's updated.

petrosagg commented 7 years ago

@forumi0721 @schmich This is issue is fixed with QEMU 2.9.0+resin1 released in this repo. I've also updated resin-io-projects/armv7hf-debian-qemu and pushed the updated image to Dockerhub!