[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#799341: x32 and failure to install chroot environment due to mount failure



Package: debootstrap
Version: 1.0.72
Severity: important

*****

I work with a free/open source project (http://www.cryptopp.com/). A
Debian maintainer reported a failure for X32. I'm trying to get a test
rig setup to duplicate the issue. I'm following Debian's X32Port wiki
page (https://wiki.debian.org/X32Port).

# apt-get install debian-ports-archive-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
debian-ports-archive-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# debootstrap --arch=x32
--keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg
unstable debian-x32 http://ftp.debian-ports.org/debian
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 1AD7967B6A55FDD7C0746577A53AB45AC448326E)
I: Retrieving Packages
...

I: Extracting util-linux...
I: Extracting zlib1g...
W: Failure trying to run: chroot /root/debian-x32 mount -t proc proc /proc
W: See /root/debian-x32/debootstrap/debootstrap.log for details
# cat /root/debian-x32/debootstrap/debootstrap.log
gpgv: Signature made Thu Sep 17 21:20:09 2015 EDT using RSA key ID C448326E
gpgv: Good signature from "Debian Ports Archive Automatic Signing Key
(2015) <ftpmaster@debian-ports.org>"
gpgv: Signature made Thu Sep 17 21:20:09 2015 EDT using RSA key ID C448326E
gpgv: Good signature from "Debian Ports Archive Automatic Signing Key
(2015) <ftpmaster@debian-ports.org>"
chroot: failed to run command 'mount': Exec format error

*****

These issues may (or may not) be related. Michael Tokarev, who helped
with some qemu-system and qemu-user issues I was having, is familiar
with them.

    799120, "execv and format error due to binfmt types [sic]",
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799120)
    784605, "binfmt masks: allow ELF_OSABI=0|3 on some architectures"
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784605)

799120 has a different title; it was summarized for convenience with
the cause for this report.

*****

Based on the debootstrap command, I'm filing against debootstrap. But
I have a feeling it may not be correct. In fact, my last couple of
bugs in this area have been filed against the wrong package, so please
accept my apologies in advance.

I also tried qemu-debootstrap process with the following result, so I
don't believe its qemu or qemu-user issue:

# qemu-debootstrap --arch=x32 --keyring
/usr/share/keyrings/debian-archive-keyring.gpg --variant=buildd
--exclude=debfoster unstable debian-x32 http://ftp.debian.org/debian
E: Sorry, I don't know how to support arch

*****

# Debian 8, x86_64, fully patched. I run 'update' and 'dist-upgrade'
religiously.

$ uname -a
Linux debian-8-x64 4.1.0-2-amd64 #1 SMP Debian 4.1.6-1 (2015-08-23)
x86_64 GNU/Linux

$ lsb_release
No LSB modules are available.

*****

$ apt-cache show debootstrap
Package: debootstrap
Version: 1.0.72
Installed-Size: 236
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Architecture: all
Depends: wget
Recommends: gnupg, debian-archive-keyring
Description-en: Bootstrap a basic Debian system
 debootstrap is used to create a Debian base system from scratch,
 without requiring the availability of dpkg or apt. It does this by
 downloading .deb files from a mirror site, and carefully unpacking them
 into a directory which can eventually be chrooted into.
Description-md5: 883a8efb3ed16248b0d2091d9c0b60c9
Tag: admin::virtualization, devel::debian, implemented-in::shell,
 interface::commandline, protocol::http, role::program, scope::utility,
 suite::debian, works-with-format::tar, works-with::software:package
Section: admin
Priority: extra
Filename: pool/main/d/debootstrap/debootstrap_1.0.72_all.deb
Size: 65002
MD5sum: bb770d60961ce50a906fe570a36f907d
SHA1: 52c6a120f24534e18dac02ee995d8066a5946fe7
SHA256: 501fb1b22c5b18a831c1fd983c108a1de9330baca6c08a55edef25c2e4f99e12

Package: debootstrap
Version: 1.0.67
Installed-Size: 229
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Architecture: all
Depends: wget
Recommends: gnupg, debian-archive-keyring
Description-en: Bootstrap a basic Debian system
 debootstrap is used to create a Debian base system from scratch,
 without requiring the availability of dpkg or apt. It does this by
 downloading .deb files from a mirror site, and carefully unpacking them
 into a directory which can eventually be chrooted into.
Description-md5: 883a8efb3ed16248b0d2091d9c0b60c9
Tag: admin::virtualization, devel::debian, implemented-in::shell,
 interface::commandline, protocol::http, role::program, scope::utility,
 suite::debian, works-with-format::tar, works-with::software:package
Section: admin
Priority: extra
Filename: pool/main/d/debootstrap/debootstrap_1.0.67_all.deb
Size: 62742
MD5sum: 32f2cf6f8722a0dd4d68d7fb3784509e
SHA1: f42f244fb4468c76b48c946ca51a6cd5d61d7850
SHA256: 60ea5fbab57d5e9d6140ae5f7fa228717d960a4f9780d5762010ba49716d4bed

*****

$ sudo dpkg -s debootstrap
Package: debootstrap
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 236
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Architecture: all
Version: 1.0.72
Depends: wget
Recommends: gnupg, debian-archive-keyring
...


Reply to: