Your message dated Mon, 14 May 2018 09:49:21 +0000 with message-id <[email protected]> and subject line Bug#840372: fixed in debootstrap 1.0.98 has caused the Debian Bug report #840372, regarding debootstrap: second-stage fails within systemd-nspawn: proc already mounted to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 840372: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840372 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: debootstrap Version: 1.0.81~bpo8+1 Severity: normal Dear Maintainer, I'm currently trying to first debootstrap with --foreign ("$ sudo debootstrap --foreign sid ./"). And then I'm trying to perform the second stage with qemu-user-static + systemd-nspawn, which fails, unfortunately: ~~~~ $ sudo systemd-nspawn --bind /usr/bin/qemu-x86_64-static -D ./ /debootstrap/debootstrap --second-stage Spawning container amd64 on /srv/nfs/debian-sid-test/.amd64. Press ^] three times within 1s to kill container. /etc/localtime is not a symlink, not updating container timezone. I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror https://mirrors.kernel.org/debian W: Failure trying to run: mount -t proc proc /proc W: See //debootstrap/debootstrap.log for details ~~~~~ The following workaround helps though: ~~~~ $ sudo systemd-nspawn --bind /usr/bin/qemu-x86_64-static -D "./.amd64/" /bin/bash -c "mkdir /tmp/proc; mount --move /proc /tmp/proc; /debootstrap/debootstrap --second-stage" ~~~~ So it looks like systemd-nspawn already took care of mounting /proc and debootstrap fails when trying to do the same? Maybe debootstrap could just skip mounting /proc if this mount is already present? Regards, Linus -- System Information: Debian Release: 8.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages debootstrap depends on: ii wget 1.16-1+deb8u1 Versions of packages debootstrap recommends: ii debian-archive-keyring 2014.3 ii gnupg 1.4.18-7+deb8u3 debootstrap suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: debootstrap Source-Version: 1.0.98 We believe that the bug you reported is fixed in the latest version of debootstrap, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Philipp Kern <[email protected]> (supplier of updated debootstrap package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 14 May 2018 11:22:35 +0200 Source: debootstrap Binary: debootstrap debootstrap-udeb Architecture: source all Version: 1.0.98 Distribution: unstable Urgency: medium Maintainer: Debian Install System Team <[email protected]> Changed-By: Philipp Kern <[email protected]> Description: debootstrap - Bootstrap a basic Debian system debootstrap-udeb - Bootstrap the Debian system (udeb) Closes: 731802 741964 840372 886016 895096 896071 Changes: debootstrap (1.0.98) unstable; urgency=medium . [ Cyril Brulebois ] * Update Vcs-{Browser,Git} to point to salsa (alioth's replacement). . [ Julien Cristau ] * Add Acquire-By-Hash support. (Closes: #886016) . [ Hideki Yamane ] * Fix some unnecessary quoting that caused an error. (Closes: #896071) * Handle systemd-nspawn and lxc gracefully in second stage. (Closes: #840372, #731802) * Allow tarballs ending in .tar.gz and .tar.xz to be used to acquire already downloaded debs. (Closes: #895096) * Properly deal with the fakechroot variant when --foreign is passed to debootstrap. Thanks to jhcha54008 for the patch. (Closes: #741964) * Properly print proxy auto-detection message. Checksums-Sha1: f6c9709dc6ef7191575a6741912a9d31cd6f177e 1646 debootstrap_1.0.98.dsc 2cb8e1a6dab4ca08175cf6ea40592e644bc1f097 71819 debootstrap_1.0.98.tar.gz 15b09f93471a712bf3c66a890349dd6708b95582 20860 debootstrap-udeb_1.0.98_all.udeb c5447cd147eb86ba99b0d729cca7a47e7ebf16c9 69790 debootstrap_1.0.98_all.deb 82f1523c1a142bab5e33ebf5fc0c52ba23a94469 5548 debootstrap_1.0.98_amd64.buildinfo Checksums-Sha256: 36ded3ccf7f880f9b67c3a8acf6207a46465bf8c9206863176b80b16d54e7cee 1646 debootstrap_1.0.98.dsc a88152bb5f2b9d9ac6032f251c1cb1be841017877bb6602f844c17f6a1dc8e1f 71819 debootstrap_1.0.98.tar.gz 5aa29ad2ced8a80e83767be7fc4b3592306e718b3a94f1b08eca26d08a898b73 20860 debootstrap-udeb_1.0.98_all.udeb 56cba560a646e21a74a835a088b74561a88ff70258171ad3c10791cc3dc47c21 69790 debootstrap_1.0.98_all.deb 5d06e90e60eaa37ccbac32db5443fdb05c3999d738fb89fafd31702b9e73cc52 5548 debootstrap_1.0.98_amd64.buildinfo Files: 897038bd7aeb9bcc101f4d85da50ecb0 1646 admin optional debootstrap_1.0.98.dsc da249a8b3d89017d331543b32be65d7e 71819 admin optional debootstrap_1.0.98.tar.gz c3ab0c14fbe1b06d8a82de9750d9ead0 20860 debian-installer optional debootstrap-udeb_1.0.98_all.udeb 920368ac2be720aa7fdc678f4e007619 69790 admin optional debootstrap_1.0.98_all.deb a00e12ef2fcdfa0eae6247d1901f6394 5548 admin optional debootstrap_1.0.98_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQFFBAEBCgAvFiEEPzuChCNsw7gPxr3/RG4lRTXQVuwFAlr5V6sRHHBrZXJuQGRl Ymlhbi5vcmcACgkQRG4lRTXQVuxGOwf/SpQoUBpKrP/Vb7hF+/1EVA4qQCDYNzDp uLGs/2yux9C3ckT4ROBoJcsZAMVUIeF3laO8HPCtAx4jJ7LlhBcnEeceRcvW42K7 BwsDVphuOR1XbnZAKR9s7BMT4MDQLZmd0D3VjJp6xdHsMAncsjbOsYaa6KzleGWL qeabFVkyIX0PVFMc3TFYK6eIln0eTuy9p4lApg/G2fPMbO3aOe/6rJppKmjJNqmR o94QsWooZNHu4AEoPE5icct/o5n/D5zBSVSyVj4hqhDvK1bJn/dclhdw+o4ZFfij tGctNMdFhTGz7FFJhknadPRyhD86bpy+88DvzEJBWjwA/RW2foY8Ng== =n/nK -----END PGP SIGNATURE-----
--- End Message ---

