Just a note: qemu-arm-static itself has nothing to do with it. I tried
older versions from hirsute and focal, and they exhibit the same
behaviour.

I can however confirm that the problem lies in the binfmt-P logic
handling - if I re-register qemu-arm-static manually without the
binfmt-P flag, it no longer swallows the first argument.

So my hunch is that whatever part of the kernel/anything passes the
arguments to qemu clearly is not binfmt-P aware, while qemu itself is,
thus the discrepancy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947860

Title:
  qemu-arm-static swallows the program name, and shifts all arguments
  left

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1947860/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to