On 2/22/21 3:58 PM, Michael Tokarev wrote:
22.02.2021 17:54, John Paul Adrian Glaubitz wrote:

OK, gotcha. Is it supposed to work with systemd-binfmt? It looks like it depends
on the old binfmt-support package.

the qemu 4-line patch does not depend on any particular system, it relies on a
special name of its own argv[0] when registering the binfmt entry.  In order to
utilize it, we create a special-named symlink to qemu-foo and register that one
with the binfmt-misc subsystem, no matter if it is systemd or binfmt-support or
whatever else.

... which is pretty hackish (although it apparently works; I haven't tested 
myself).

The big question remains:
Is this "hack" just a temporary workaround which should be kept, or
is the support via the kernel-patch from Laurent the long-term and better 
solution?

Helge

Reply via email to