all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <m.othacehe@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Qemu binfmt on foreign distro
Date: Mon, 25 Nov 2019 08:58:27 +0100	[thread overview]
Message-ID: <871rtwo09o.fsf@gmail.com> (raw)
In-Reply-To: <87sgmezao8.fsf@gmail.com>


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

  reply	other threads:[~2019-11-25  7:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21 10:01 Qemu binfmt on foreign distro Mathieu Othacehe
2019-11-23 18:10 ` Ludovic Courtès
2019-11-23 18:29   ` Mathieu Othacehe
2019-11-23 18:53     ` Mathieu Othacehe
2019-11-25  7:58       ` Mathieu Othacehe [this message]
2019-11-26 10:24         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rtwo09o.fsf@gmail.com \
    --to=m.othacehe@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.