# Note: The following can even be done in a LXD container apt install qemu binfmt-support qemu-user-static debootstrap schroot sudo qemu-debootstrap --arch=arm64 focal arm64-ubuntu sudo qemu-debootstrap --arch=s390x focal s390x-ubuntu
echo "[arm64-ubuntu] description=Test G (arm64) directory=$(pwd)/arm64-ubuntu root-users=$(whoami) users=$(whoami) type=directory" | sudo tee /etc/schroot/chroot.d/arm64-ubuntu echo "[s390x-ubuntu] description=Test G (s390x) directory=$(pwd)/s390x-ubuntu root-users=$(whoami) users=$(whoami) type=directory" | sudo tee /etc/schroot/chroot.d/s390x-ubuntu # The creation of the above has run qemu*static a lot already. # But one can even play around, so far all has been working for me $ schroot -c arm64-ubuntu $ md5sum /dev/urandom $ schroot -c arm64-ubuntu $ md5sum /dev/urandom And on the host we see how that actually runs: root@g:~# ps axlf | grep static | grep -e s390x -e aar 4 0 103720 103588 20 0 226524 13568 do_wai Sl pts/1 0:00 \_ /usr/bin/qemu-aarch64-static /bin/bash 0 0 103748 103720 20 0 224124 7652 - Rl+ pts/1 0:20 \_ /usr/bin/qemu-aarch64-static /usr/bin/md5sum /dev/urandom 4 0 103566 103425 20 0 225508 13784 do_wai Sl pts/0 0:00 \_ /usr/bin/qemu-s390x-static /bin/bash 0 0 103751 103566 20 0 223280 7236 - Rl+ pts/0 0:19 \_ /usr/bin/qemu-s390x-static /usr/bin/md5sum /dev/urandom -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912605 Title: /usr/bin/qemu- aarch64-static:11:have_mmap_lock:page_set_flags:target_mmap:load_elf_image:load_elf_binary To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1912605/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs