Public bug reported:

After installing qemu 1:11.0.3+ds-2ubuntu3 I spotted that systemd-
binfmt.service started failing. From its logs:

Nov 26 20:07:19 osmio systemd-binfmt[2587260]: 
/usr/lib/binfmt.d/qemu-xtensa.conf:11: Rule name '' is not valid, refusing.
Nov 26 20:07:19 osmio systemd-binfmt[2587260]: [94B blob data]
Nov 26 20:07:19 osmio systemd-binfmt[2587260]: 
/usr/lib/binfmt.d/qemu-xtensa.conf:13: Rule name '' is not valid, refusing.
Nov 26 20:07:19 osmio systemd-binfmt[2587260]: 
/usr/lib/binfmt.d/qemu-xtensaeb.conf:1: Failed to add binary format 
'qemu-xtensaeb': Invalid argument
Nov 26 20:07:19 osmio systemd-binfmt[2587260]: 
/usr/lib/binfmt.d/qemu-xtensaeb.conf:11: Rule name '' is not valid, refusing.
Nov 26 20:07:19 osmio systemd-binfmt[2587260]: [97B blob data]
Nov 26 20:07:19 osmio systemd-binfmt[2587260]: 
/usr/lib/binfmt.d/qemu-xtensaeb.conf:13: Rule name '' is not valid, refusing.

Looking into the files, they contain multiple raw NULs and other decoded
bytes, rather than literal \xNN sequences. I believe this is due to new
dash interpreting strings like \xNN as hex escape sequences
(https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=776424a8f9158bfe9f53aa55f931af9f73437caf).
This breaks the binfmt-install script.

Another similar failure: LP: #2173081.

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  qemu-user ships invalid binfmt.d rules

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to