Your message dated Wed, 17 Feb 2016 01:35:03 +0000
with message-id <e1avr1d-0005zo...@franck.debian.org>
and subject line Bug#813232: fixed in debootstrap 1.0.78+nmu1
has caused the Debian Bug report #813232,
regarding debootstrap: Two-staged bootstrapping with --second-stage broken
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 ow...@bugs.debian.org
immediately.)
--
813232: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813232
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: debootstrap
Version: 1.0.78
Severity: important
Hi!
Since the upgrade to version 1.0.76 it's no longer possible to create chroots
with --foreign and a consequential --second-stage which is particularly useful
when creating a base system for a foreign architecture. Downgrading to 1.0.75
fixes the issue.
To reproduce:
root@z6:/srv/chroots> debootstrap --no-check-gpg --foreign --variant=buildd
unstable /srv/chroots/sid-amd64-sbuild/ ftp://ftp.debian.org/debian
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
(...)
I: Extracting bsdutils...
I: Extracting libblkid1...
I: Extracting libfdisk1...
I: Extracting libmount1...
I: Extracting libsmartcols1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting zlib1g...
root@z6:/srv/chroots> chroot sid-amd64-sbuild/
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
I have no name!@z6:/# ./debootstrap/debootstrap --second-stage
I: Keyring file not available at
/usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
https://mirrors.kernel.org/debian
I have no name!@z6:/#
A simple hotfix is to disable setup_devices in "functions" by letting the
function exit without actually doing anything by just adding "return 0" as
the first statement. I assume that setup_devices is deprecated with the recent
changes and is therefore broken. But this should be fixed properly in any
case.
Cheers,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- End Message ---
--- Begin Message ---
Source: debootstrap
Source-Version: 1.0.78+nmu1
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 813...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <m...@linux.it> (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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 17 Feb 2016 01:23:23 +0100
Source: debootstrap
Binary: debootstrap debootstrap-udeb
Architecture: source all
Version: 1.0.78+nmu1
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Marco d'Itri <m...@linux.it>
Description:
debootstrap - Bootstrap a basic Debian system
debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 813232
Changes:
debootstrap (1.0.78+nmu1) unstable; urgency=medium
.
* Non-maintainer upload.
* Split setup_devices in setup_devices (which now only deals with static
device nodes) and setup_dynamic_devices, and move the calls to
setup_devices from the beginning of the second stage to the end of the
first stage.
setup_dynamic_devices mounts the appropriate filesystems which provide
dynamic device nodes for the architectures which need one in
debootstrap (kfreebsd and hurd).
This fixes a bug in --second-stage introduced in 1.0.34 and exposed
by the devices-related changes of 1.0.76: the second stage debootstrap
runs "dpkg --print-architecture >/dev/null" at the very beginning of
the program when /dev is still empty, so it creates an empty regular
file in place of /dev/null and this will cause mknod to fail later.
(Closes: #813232)
Checksums-Sha1:
97354ce5cec5ce6592a5170027638b8a619fbb3a 1659 debootstrap_1.0.78+nmu1.dsc
ffa778324b46f21892fe8f3790876abcc5b53b6a 64326 debootstrap_1.0.78+nmu1.tar.gz
c76b8227e3c432a47696407cfe3c1b9d494fa7d5 18906
debootstrap-udeb_1.0.78+nmu1_all.udeb
e69c1184e4460a1c08d4e9d4ec8d91fed1e04e1a 66494 debootstrap_1.0.78+nmu1_all.deb
Checksums-Sha256:
814102133b42278d5ceba4dc6f6b578405a162e299f6d08f702234ea95cc9a17 1659
debootstrap_1.0.78+nmu1.dsc
f189a84b7614b7ab5a1efd1716cd40ea97c7e1eeb168c3afd68ca71ca9c09bd3 64326
debootstrap_1.0.78+nmu1.tar.gz
770a977064996f9b7cdf21d5828d49af0d558578e73115e53c4aca3fd604df86 18906
debootstrap-udeb_1.0.78+nmu1_all.udeb
36db705f59cbedd1b0de11070f0d860f4aeae5218d0a1ba1d851b6340c78c298 66494
debootstrap_1.0.78+nmu1_all.deb
Files:
a0c78fb344403f5559a335b731735b32 1659 admin extra debootstrap_1.0.78+nmu1.dsc
d40f78f4b1f7672c6f66c43c8309b00f 64326 admin extra
debootstrap_1.0.78+nmu1.tar.gz
fb271f193567ccf67a9bf575ae867a38 18906 debian-installer extra
debootstrap-udeb_1.0.78+nmu1_all.udeb
58ba881100b5e805f49a6ce27f38d9cb 66494 admin extra
debootstrap_1.0.78+nmu1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGcBAEBAgAGBQJWw8H1AAoJECv1pcEixPekYaQMAJ5blZouwXbdp6IQrNbTUukm
Qx6jG7qolgmOR6CO36EJKhHHsg7MiYQGyyESdDE3pyhGQAVR6CkYX8sSl4VGJhQD
cujAbp9DAil7h8lbzuDgyCUAqvBAJVQO9yEzqc3cpGe45DK2j2GOcDpsqca/OZuI
vI7WxGsXin7DRUfTgpOcPR0AFbz0SRqiBVUJyONuxgVw6r66dYZ+HtCH3yVOvUeo
MMacBSPz2XLQQmNORX7sHHe+/PirKHbeNehuH/FMIjEwQAklkJM4BDkBn3w67bFw
zDGptEirLNeNBwDrWBzDpFJquRIVF1OarzNdhnWl0mneiSBMCH6463jptlfHyZtF
LgRR7W3H3gcZ4Y/y1PB0L3QyDeUnDMyi8/UH5c7psyfP6hr8Awe5DxX4+3jDupVI
vXUMqe8b47CYXEP80IdvjwLOIj38rfqKuwrPvgA56XTlS8Qm8TSMcV0+TOLojCwY
2JziUuKDoLEJuPMbQHrCRVdGNNmS1wEPSuTgn0W0jA==
=oCYZ
-----END PGP SIGNATURE-----
--- End Message ---