Your message dated Sun, 06 Oct 2019 21:59:00 +0000
with message-id <[email protected]>
and subject line Bug#935260: fixed in mmdebstrap 0.5.0-1
has caused the Debian Bug report #935260,
regarding mmdebstrap --mode=chrootless --variant=extract
--architectures=$NON_NATIVE fails cleaning up qemu
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.)
--
935260: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935260
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mmdebstrap
Version: 0.4.1-6
Tags: patch
Hi Josch,
I found yet another corner case with foreign chrootless:
| $ dpkg --print-architecture
| amd64
| $ mmdebstrap --variant=extract --mode=chrootless --architectures=armhf
--include=ncurses-base -v sid target http://deb.debian.org/debian
| I: armhf cannot be executed, falling back to qemu-user
| I: running apt-get update...
| Get:1 http://deb.debian.org/debian sid InRelease [139 kB]
| Get:2 http://deb.debian.org/debian sid/main armhf Packages [8152 kB]
| Fetched 8290 kB in 1s (5605 kB/s)
| Reading package lists...
| I: downloading packages with apt...
| Reading package lists...
| Building dependency tree...
| The following NEW packages will be installed:
| ncurses-base
| 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
| Need to get 263 kB of archives.
| After this operation, 387 kB of additional disk space will be used.
| Get:1 http://deb.debian.org/debian sid/main armhf ncurses-base all
6.1+20190803-1 [263 kB]
| Fetched 263 kB in 0s (21.3 MB/s)
| Download complete and in download only mode
| I: extracting archives...
| I: installing packages...
| I: cleaning package lists and apt cache...
| Reading package lists...
| E: cannot unlink /usr/bin/qemu-arm-static: No such file or directory
| $ echo $?
| 1
| $
This time around, mmdebstrap fails during cleanup. Close to the end
around line 1688 it checks whether we use qemu. Unless the mode is proot
or fakechroot, it cleans up the qemu binary. It turns out that
chrootless is neither proot nor fakechroot, so qemu gets cleaned up.
However it was never set up, because qemu is not needed for the
chrootless mode. The qemu cleanup should also be skipped for chrootless.
Please consider applying the attached patch.
Helmut
--- a/mmdebstrap
+++ b/mmdebstrap
@@ -1685,7 +1685,7 @@
rmdir "$options->{root}/var/lib/apt/lists/auxfiles" or die "cannot rmdir /var/lib/apt/lists/auxfiles: $!";
}
- if (defined $options->{qemu} and $options->{mode} ne 'proot' and $options->{mode} ne 'fakechroot') {
+ if (defined $options->{qemu} and $options->{mode} ne 'proot' and $options->{mode} ne 'fakechroot' and $options->{mode} ne 'chrootless') {
unlink "$options->{root}/usr/bin/qemu-$options->{qemu}-static" or error "cannot unlink /usr/bin/qemu-$options->{qemu}-static: $!";
}
--- End Message ---
--- Begin Message ---
Source: mmdebstrap
Source-Version: 0.5.0-1
We believe that the bug you reported is fixed in the latest version of
mmdebstrap, 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.
Johannes 'josch' Schauer <[email protected]> (supplier of updated mmdebstrap
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: SHA256
Format: 1.8
Date: Sun, 06 Oct 2019 23:20:58 +0200
Source: mmdebstrap
Binary: mmdebstrap
Architecture: source
Version: 0.5.0-1
Distribution: unstable
Urgency: medium
Maintainer: Johannes 'josch' Schauer <[email protected]>
Changed-By: Johannes 'josch' Schauer <[email protected]>
Description:
mmdebstrap - create a Debian chroot
Closes: 934199 935258 935260 935266 940162 940173
Changes:
mmdebstrap (0.5.0-1) unstable; urgency=medium
.
* new upstream release
- rework CLI interface to use explicit "-" for stdin where ambiguous
instead of unconditionally reading stdin (closes: #934199)
- also create /var/lib/dpkg/arch in chrootless mode (closes: #935258)
- don't cleanup qemu-user in chrootless mode (closes: #935260)
- allow hooks to remove start-stop-daemon (closes: #940173)
- fix tarball permissions in chrootless mode (closes: #935266)
- only report binfmt_misc errors if needed (closes: #940162)
* run testsuite with distribution of the autopkgtest environment
* drop patches that were applied upstream
* apply two new patches to accommodate for salsa CI
Checksums-Sha1:
57868dea3a9ab702b691e745588823361df30d34 2205 mmdebstrap_0.5.0-1.dsc
e239c33923b2b83d77fa88e010fbec5940f2e5ab 47650 mmdebstrap_0.5.0.orig.tar.gz
42f584e5db7eab2b130ad6eb344e019a1b874465 6944 mmdebstrap_0.5.0-1.debian.tar.xz
Checksums-Sha256:
948fade15595be9b8ae99580fbd674d5c146ee7d2059461ef725b97c05397e25 2205
mmdebstrap_0.5.0-1.dsc
036b439f767d2c2cee7eaf2034676592dfb48712d8c55dbc63d6977ec95abde5 47650
mmdebstrap_0.5.0.orig.tar.gz
b3ff2454adef3d7ca1649285ad0d4071cf170db47a764cadb083ebdf115107db 6944
mmdebstrap_0.5.0-1.debian.tar.xz
Files:
5b9a10359bf4f92b935b40c66de83af7 2205 admin optional mmdebstrap_0.5.0-1.dsc
24947ab3de56c386eef1723d5525a164 47650 admin optional
mmdebstrap_0.5.0.orig.tar.gz
35418af3731dba88fd9454b99582242d 6944 admin optional
mmdebstrap_0.5.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAl2aW18ACgkQ8sulx4+9
g+Fqaw/+OM1VDcU8yvcIglbm1056wAs3SWxXCEbCxgTdmkEl2LbNOlbMv8Xe7oXA
DmjlDDWYC3BPl280wDuFqN6hXg1OktlGloEu7aP9eoS8EKbnHIT64Izj9JdkRnXe
duEafWzERN6qruT0gHULuXLBPXeJOcQdmwtrvhmM17z3ILWsRYsbe0stWR0UEWD7
etBGtYRK4lVFja70mCvKshZ3T7uD3kjILeKXReuDl7+XW3HRzU/2du+xQskZ8f83
G6FSFM0YEJwbiJ/Ei8dtCJBPAqq4I3nWs/vRhHsjMkNjgz7WUXMmUwL5lVlGaGRb
aFQeIJmpol6HwloeeDRFxS7ZUS+kfmS5dWcYM2bTRktye3mpW+NOUxtDgeCXY4rq
ld9Pw9VKC7BGPRNmNm/GTadBbEeXVAPtBStjV0Y4KJoUYSzgrW2zF87PIYZ7V4s4
OK8MHqfNBFg2RKQwRRmCJnr6YweY4vEkALubtijliT+eMiTJZViqMvccgSNkG+cX
dvV9kdYd5nsA+toxiHYLfVwswJnJgqLBQ2Yj91tT+eTWBIKEoKPCBsBxqBWid3wr
j5zMNkff6hzV/4Th8hbNlzfiZGsXAwjvypuPVCBcv5CSw8P7NnSChOPo8VtElYeF
Spf5ei1HxMvRxO/SPNk7RloD5+93S+93yVLrIEgfzxY4kPy3qlA=
=N5dF
-----END PGP SIGNATURE-----
--- End Message ---