Your message dated Sat, 18 Mar 2023 00:34:55 +0000
with message-id <[email protected]>
and subject line Bug#1032489: fixed in mmdebstrap 1.3.4-1
has caused the Debian Bug report #1032489,
regarding mmdebstrap without root: newuidmap: write to uid_map failed: 
Operation not permitted
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.)


-- 
1032489: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032489
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mmdebstrap
Version: 1.3.1-2
Severity: normal
X-Debbugs-Cc: none, Dima Kogan <[email protected]>

Hi. This is almost certainly not a bug, but I don't understand the
problem, and would like ask here. For a little while now I've been using
mmdebstrap to create bookworm tarballs. This works very nicely. As a
non-root user I would do this:

  mmdebstrap   \                                                       
    bookworm   \
    image.tar.gz \
    http://deb.debian.org/debian

Today I tried this on a different machine. It's also running Debian, but
something is different about it, because this happens:

  mmdebstrap   \                                                       
    bookworm   \
    image.tar.gz \
    http://deb.debian.org/debian

  I: automatically chosen mode: unshare
  I: chroot architecture amd64 is equal to the host's architecture
  I: finding correct signed-by value...
  done
  I: automatically chosen format: tar
  I: using /tmp/mmdebstrap.hu5TsS_2_C as tempdir
  newuidmap: write to uid_map failed: Operation not permitted
  E: newuidmap 1474581  0 60017 1 1 1476256 1 failed: 
  E: child had a non-zero exit status: 1
  E: chown failed

I'm reading the "newuidmap" manpage, but the issue isn't clear to me. In
an attempt to debug, I did this on the working machine:

  strace -f -o /tmp/stlog mmdebstrap ....

Doing that makes it fail with that error! So adding strace to a working
mmdebstrap invocation causes this error too.

If I just run the failing "newuidmap" command all by itself in the
shell, it consistently produces that error. This makes me think that
when mmdebstrap is working for me, it's somehow not actually running
newuidmap. I don't know why.

In all cases I see this:

  I: automatically chosen mode: unshare

The mmdebstrap manpage talks about this option, but it's still not clear
to me. Can you please comment? Is the above supposed to work? If so, any
idea why it would fail on some machines and not others? Does it make
sense that strace breaks it?

Thanks!

--- End Message ---
--- Begin Message ---
Source: mmdebstrap
Source-Version: 1.3.4-1
Done: Johannes Schauer Marin Rodrigues <[email protected]>

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 Schauer Marin Rodrigues <[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: SHA512

Format: 1.8
Date: Sat, 18 Mar 2023 00:33:00 +0100
Source: mmdebstrap
Architecture: source
Version: 1.3.4-1
Distribution: unstable
Urgency: medium
Maintainer: Johannes Schauer Marin Rodrigues <[email protected]>
Changed-By: Johannes Schauer Marin Rodrigues <[email protected]>
Closes: 1027429 1032489
Changes:
 mmdebstrap (1.3.4-1) unstable; urgency=medium
 .
   * New upstream version 1.3.4
      - more safeguards before automatically choosing unshare mode (closes:
        #1027429, #1032489)
Checksums-Sha1:
 87c9a980af61c9cef8ec40ce5078d995f5ad142c 2433 mmdebstrap_1.3.4-1.dsc
 1cebda52cd93b0f7ae99a8cdbaa46d67f558d17e 142172 mmdebstrap_1.3.4.orig.tar.gz
 01441a2a97a50e55352c8ea042abbcc28503bf77 15680 mmdebstrap_1.3.4-1.debian.tar.xz
Checksums-Sha256:
 ecf792987389ca1a0bee05e7befcdb99dd0cea9e59bd9ce720b9b1cd5c3948e7 2433 
mmdebstrap_1.3.4-1.dsc
 06b14e964aa4693d712b8f48caa6f2c6ad4284ec9b7eb1b3ebd0a2262bd51201 142172 
mmdebstrap_1.3.4.orig.tar.gz
 3ffc461979b3d6b222a9ee91243aa768c63afb31eaa0cc3a2c542dff4a2a5675 15680 
mmdebstrap_1.3.4-1.debian.tar.xz
Files:
 c253fcc7e1b6721d8d9e3b7d99a59e9f 2433 admin optional mmdebstrap_1.3.4-1.dsc
 df01fb9180f963ef98b3c38e90999b5d 142172 admin optional 
mmdebstrap_1.3.4.orig.tar.gz
 7deaa8e6d2daf02ef675f1228b23f9ad 15680 admin optional 
mmdebstrap_1.3.4-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmQVAiwACgkQ8sulx4+9
g+GYIA//aK7JMKUz2obWis2L6K8WYqjPnEz77LLcE8Eodjz4LPG1Bbv41OMXKW/l
lr8zAoMmK0qKdMrPOQnYOhAgVc1gCw5drEe6agqpWHlMCHe94f4erg7mvVuige/B
JJ6s1sppKNuK6Q9HcBTe+b55kdkSm7nCYyXtu+8kfzsGsW5l/+GiEdXzeR5VD8QF
2oeD6/X36fFJ9CYZyem0HCcgWoPYBZmUVRui7ZV73RAMDDLCdt6620bDifDGY6y7
udvwFlOYXGBZJE2M0t/YvT0DtgFOZX7TUX4Nf/vcCv4BC3yRQiOUKz+DKdMX5I47
NfmMYn0HJZcAGFOofywOgw2FfdruJhQJ+smY5ckobWirD/jMtyhUpYihqTBpmdDx
l93jm9OEs4pYDos38L+tBx/seDC1LMiQ4pXZHi2I7I1OyIapOpeqZOyTDiqs5G0T
FgxluMcla786rNuZqHGsKwI5Bo7EMBWK/3lf28SINf/1nBfzG8xdqjYQjpeB4fGM
VDHaiG/vvxzeB4JP3aBhp72v+/GlsRXY7ZsrofUEOTQaUT04Lw2s22tpEaMjWewX
uEWpqS556JVwxU5dBamZwwmnzmuvEyBK1uVfiEhH5pdFbJnMwtnDQY6B3S6FxpXY
E6KQwYNdmTdO2p+uW3/YJRVKdaocBRt+uu6YS7fu03jdH2ZvE9A=
=xhk3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to