[Bug 1928118] [NEW] cannot enter foreign arch schroot since qemu 1:5.2+dfsg-4

Paride Legovini 1928118 at bugs.launchpad.net
Tue May 11 16:46:24 UTC 2021


Public bug reported:

[Somehow adapted from the linked Debian bug]

Newly created (but possibly also existing) schroots with mk-sbuild and
sbuild-launchpad-chroot are missing target/usr/libexec/qemu-binfmt/.
This leads to errors like:

$ schroot -c <somechroot>
E: 15binfmt: touch: cannot touch '/var/run/schroot/mount/[...]/usr/libexec/qemu-binfmt/aarch64-binfmt-P': No such file or directory

It looks to me like this appears since qemu 1:5.2+dfsg-4: the actual
binfmt binary is now located below the directory /usr/libexec/qemu-
binfmt/.

This is fixed in Debian in version 1.6.10-12, and I verified the fix
also works on Impish.

** Affects: schroot (Ubuntu)
     Importance: Undecided
         Status: Fix Committed

** Affects: schroot (Ubuntu Hirsute)
     Importance: Undecided
         Status: New

** Affects: schroot (Debian)
     Importance: Unknown
         Status: Unknown

** Also affects: schroot (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Changed in: schroot (Ubuntu)
       Status: New => Fix Committed

** Bug watch added: Debian Bug tracker #983087
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983087

** Also affects: schroot (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983087
   Importance: Unknown
       Status: Unknown

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

Title:
  cannot enter foreign arch schroot since qemu 1:5.2+dfsg-4

Status in schroot package in Ubuntu:
  Fix Committed
Status in schroot source package in Hirsute:
  New
Status in schroot package in Debian:
  Unknown

Bug description:
  [Somehow adapted from the linked Debian bug]

  Newly created (but possibly also existing) schroots with mk-sbuild and
  sbuild-launchpad-chroot are missing target/usr/libexec/qemu-binfmt/.
  This leads to errors like:

  $ schroot -c <somechroot>
  E: 15binfmt: touch: cannot touch '/var/run/schroot/mount/[...]/usr/libexec/qemu-binfmt/aarch64-binfmt-P': No such file or directory

  It looks to me like this appears since qemu 1:5.2+dfsg-4: the actual
  binfmt binary is now located below the directory /usr/libexec/qemu-
  binfmt/.

  This is fixed in Debian in version 1.6.10-12, and I verified the fix
  also works on Impish.

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



More information about the foundations-bugs mailing list