Quoting Dima Kogan (2023-03-16 20:04:19) > I see this on a machine where the user is missing from /etc/subuid: > > dima@shorty:~$ /tmp/mmdebstrap bookworm /tmp/tst.tar.gz > http://deb.debian.org/debian > > E: unable to pick chroot mode automatically > > > dima@shorty:~$ /tmp/mmdebstrap --mode=unshare bookworm /tmp/tst.tar.gz > http://deb.debian.org/debian > > W: no entry in /etc/subuid for dima > E: failed to parse /etc/subuid and /etc/subgid > > Is this right? Can we get better error messages? The "normal" command a > user would type is the first one, and "unable to pick chroot mode > automatically" is unhelpful. It tells the user nothing about what went > wrong, or how to even look for a solution.
Thank you for your feedback! How about: E: unable to pick chroot mode automatically (use --mode for manual selection) This will make the user look up the --mode argument and its possible values in the man page. If the user then selects --mode=unshare, the error message indicates what is wrong. What do you think? cheers, josch