Hi!

Sorry for the late reply!

On 7/17/19 12:07 PM, Laurent Vivier wrote:
> And I don't like to break existing things...
> 
> What I can propose:
> 
> 1- modify this patch to add a configure option:
> 
>    by default qemu will need the QEMU_ARGV0 but we will be able to
> define at configure time it always runs with preserve-arg[0] flag
> enabled (something like "--enable-preserve-arg0")
> 
> [So debian will be able to provide qemu-user-static with this enabled by
> default if you're not afraid to break debian users environment]

This sounds like a reasonable approach for the time being, I agree with
that. I could just pass that option to configure whenever I build new
static qemu binaries for the buildds and I can drop your customized
patch locally.

> 2- try (again) to push in the kernel the binfmt_misc namespace that
> allows to have per chroot basis binfmt configuration

That would be cool, too. Has there been some discussion on this already?

> 3- once 3 done, enable preserve-arg[0] by default

You mean once "2 done"?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to