On Mon, Feb 24, 2025 at 08:37:56AM +0100, Chris Hofstaedtler wrote: > On Sat, Jan 25, 2025 at 01:54:50PM +0100, Jochen Sprickerhof wrote: > > $ mmdebstrap --verbose --variant=essential --include=owfs-common unstable > > /dev/null > > [..] > > Selecting previously unselected package owfs-common. > > Preparing to unpack .../14-owfs-common_3.2p4+dfsg1-4.5_all.deb ... > > useradd: Warning: missing or non-executable shell '/usr/sbin/nologin' > > > > currently hangs. This is due to:
I've cut this down some more, to: mmdebstrap --variant=essential --hook-dir=/usr/share/mmdebstrap/hooks/file-mirror-automount --include=./bla_1_all.deb unstable /dev/null Where bla_1_all.deb only has a bla.preinst with this contents: | #!/bin/sh | set -ex | env | | case "$1" in | install|upgrade) | adduser --system bla | ;; | esac | | #DEBHELPER# | | exit 0 And this still fails: | + adduser --system bla | warn: `/etc/adduser.conf' does not exist. Using defaults. | Insecure $ENV{PATH} while running with -T switch at /usr/share/perl5/Debian/AdduserLogging.pm line 161. | dpkg: error processing archive /tmp/apt-dpkg-install-1qjnzP/7-bla_1_all.deb (--unpack): | new bla package pre-installation script subprocess returned error exit status 25 | Errors were encountered while processing: | /tmp/apt-dpkg-install-1qjnzP/7-bla_1_all.deb | E: Sub-process env returned an error code (1) At this point, PATH is set to: | PATH=/usr/sbin:/usr/bin:/sbin:/bin Marc, do you have an idea why adduser fails here? This is a problem for a number of packages on reproduce.debian.net :-/ Chris