Hi Andrea, Quoting Andrea Pappacoda (2022-12-31 12:54:35) > Hi, for some reason I'm unable to get the unshare backend working on one of my > machines. > > When I try to create an unstable-amd64 tarball to use with sbuild I get this > strange error: > > mmdebstrap --variant=apt --include=build-essential unstable unstable- > amd64.tar > I: automatically chosen mode: unshare > I: chroot architecture amd64 is equal to the host's architecture > I: automatically chosen format: tar > I: using /tmp/mmdebstrap.panqVhWsFm as tempdir > W: /etc/subuid is empty > E: invalid idmap
I found another actionable in your bug report. mmdebstrap should not automatically choose unshare mode if that cannot work on your system. To that end I wrote: https://gitlab.mister-muffin.de/josch/mmdebstrap/commit/055e1719b95960496a0cda88535fd00e9a395516 If you like, please try that out on your system with --mode=unshare as well as with --mode=auto. The messages and logic should be much better now. If you cannot apply that patch, since mmdebstrap is a single script, you can also just download the perl script and run it: https://gitlab.mister-muffin.de/josch/mmdebstrap/raw/branch/main/mmdebstrap Tell me what you think! This is similar to #1032489, so I'm putting Dima in CC who can try this as well. :) Thanks! cheers, josch