qemu-binfmt-conf causes duplicate magic mips headers when installing all patterns
Host environment
- Operating system: Debian Buster
- OS/kernel version: Linux zen 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
- Architecture: x86_64
- QEMU flavor: qemu-user
- QEMU version: current head cfe63e46
- QEMU command line:
sudo ./scripts/qemu-binfmt-conf.sh --debian --qemu-path /home/alex/lsrc/qemu.git/builds/user.static --persistent yes
sudo update-binfmts --import
update-binfmts: warning: unable to enable binary format qemu-mipsn32el: another format with the same magic already exists and this is a fix-binary format: No such file or dy
update-binfmts: warning: unable to enable binary format qemu-mipsn32el
update-binfmts: warning: unable to enable binary format qemu-mipsel: another format with the same magic already exists and this is a fix-binary format: No such file or direy
update-binfmts: warning: unable to enable binary format qemu-mipsel
update-binfmts: warning: unable to enable binary format qemu-mipsn32: another format with the same magic already exists and this is a fix-binary format: No such file or diry
update-binfmts: warning: unable to enable binary format qemu-mipsn32
Emulated/Virtualized environment
- Operating system: linux-user
- Architecture: mips
Description of problem
The magic/mask patterns are the same for mips[el] and nipsn32[el]