[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag
From: |
John Paul Adrian Glaubitz |
Subject: |
Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag |
Date: |
Mon, 22 Feb 2021 16:09:11 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
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.
OK, I was wondering this because qemu-user-static still pulls in the
binfmt-support
package:
root@epyc:~> apt install qemu-user-static
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
binfmt-support
The following NEW packages will be installed:
binfmt-support qemu-user-static
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Other distributions such as Fedora have already switched to systemd-binfmt.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, (continued)
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, no-reply, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, John Paul Adrian Glaubitz, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, Laurent Vivier, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, Michael Tokarev, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, John Paul Adrian Glaubitz, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, Michael Tokarev, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, John Paul Adrian Glaubitz, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, Michael Tokarev, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, Helge Deller, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, Michael Tokarev, 2021/02/22
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag,
John Paul Adrian Glaubitz <=
- Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, Michael Tokarev, 2021/02/22
Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag, Michael Tokarev, 2021/02/22