Bug#984768: schroot: fails chrooting in qemu-debootstrap rootfs
Package: schroot
Version: 1.6.10-11+b1
Severity: normal
X-Debbugs-Cc: carsanbu+debian@gmail.com
Dear Maintainer,
I've found this problem when I upgraded Debian, previously it
worked correctly in my system.
These are the steps to reproduce:
qemu-debootstrap --arch=armhf bullseye bullseye-armhf http://ftp.debian.org/debian/
echo "[bullseye-armhf]
description=Debian Bullseye
directory=$(pwd)/bullseye-armhf
users=$(whoami)
type=directory" | tee /etc/schroot/chroot.d/bullseye-armhf
schroot -c bullseye-armhf
The output of this command is an error like this one:
E: 15binfmt: touch: cannot touch '/var/run/schroot/mount/bullseye-armhf-dev-cce33164-30dc-4e03-85d7-ec441246e808/usr/libexec/qemu-binfmt/arm-binfmt-P': No such file or directory
E: 15binfmt: touch: cannot touch '/var/run/schroot/mount/bullseye-armhf-dev-cce33164-30dc-4e03-85d7-ec441246e808/usr/libexec/qemu-binfmt/arm-binfmt-P': No such file or directory
E: bullseye-armhf-dev-cce33164-30dc-4e03-85d7-ec441246e808: Chroot setup failed: stage=setup-start
I've expect to chroot like in the past but I'm unable because in my
rootfs there are not /usr/libexec/qemu-binfmt/arm-binfmt-P
Best regards,
Carlos Sanmartín
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages schroot depends on:
ii libboost-filesystem1.74.0 1.74.0-8
ii libboost-iostreams1.74.0 1.74.0-8
ii libboost-program-options1.74.0 1.74.0-8
ii libc6 2.31-9
ii libgcc-s1 10.2.1-6
ii libpam0g 1.4.0-4
ii libstdc++6 10.2.1-6
ii libuuid1 2.36.1-7
ii lsb-base 11.1.0
ii schroot-common 1.6.10-11
schroot recommends no packages.
Versions of packages schroot suggests:
pn aufs-tools | unionfs-fuse <none>
pn btrfs-progs <none>
ii debootstrap 1.0.123
pn lvm2 <none>
ii qemu-user-static 1:5.2+dfsg-6
pn zfsutils-linux <none>
-- no debconf information
Reply to: