[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Qemu binfmt on foreign distro
From: |
Mathieu Othacehe |
Subject: |
Re: Qemu binfmt on foreign distro |
Date: |
Mon, 25 Nov 2019 08:58:27 +0100 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
I ran further tests. On Ubuntu 18.04, using qemu-user-static or
qemu-user-binfmt makes no difference, they both fail.
qemu-user-static works on Ubuntu 19.04 because of the addition of the
'F' flag, see:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1815100.
Adding the 'F' flag[1] manually on Ubuntu 18.04 also fixes the issue.
I could maybe add an entry to the documentation explaining that, in
order for '--system' command to work on foreign distros, it is needed
that:
* A static version of qemu-user is used by binfmt
* The 'F' flag is enabled for all binfmt installed entries
Mathieu
[1]: https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html