Le 22/02/2021 à 11:58, John Paul Adrian Glaubitz a écrit :
> Hi Laurent!
> 
> On 2/22/21 11:50 AM, Laurent Vivier wrote:
>> Add --preserve-argv0 in qemu-binfmt-conf.sh to configure the preserve-argv0
>> flag.
>>
>> This patch allows to use new flag in AT_FLAGS to detect if
>> preserve-argv0 is configured for this interpreter:
>> argv[0] (the full pathname provided by binfmt-misc) is removed and
>> replaced by argv[1] (the original argv[0] provided by binfmt-misc when
>> 'P'/preserve-arg[0] is set)
> 
> Would this patch finally fix the issue with the perl package in Debian? [1]

I think so. Helge can confirm that I guess.

But you need the kernel support (the one merged by Helge) as described in the 
patch message.

2347961b11d4 ("binfmt_misc: pass binfmt_misc flags to the interpreter")

> Adrian
> 
>> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974004
> 

Thanks,
Laurent

Reply via email to