Package: mmdebstrap Version: 0.7.5-2 Severity: normal Dear Maintainer,
I was playing with mmdebstrap to see if I could bootstrap a system even without dpkg, suitable for some embedded device… However, I could not get --mode=chrootless to work: I'm not sure if this is PEBKAC or a bug… If the former, I'd apprecicate some hints… (I ran this as root in a chroot env, bootstraped for convenience reasons with pbuilder; but I get the same results when doing that as non-root outside of a chroot.) The command I run: mmdebstrap --mode=chrootless --aptopt='Acquire::http { Proxy "http://10.243.48.3:3142"; }' --dpkgopt='path-exclude=/usr/share/man/*' --dpkgopt='path-include=/usr/share/man/man[1-9]/*' --dpkgopt='path-exclude=/usr/share/locale/*' --dpkgopt='path-include=/usr/share/locale/locale.alias' --dpkgopt='path-exclude=/usr/share/doc/*' --dpkgopt='path-include=/usr/share/doc/*/copyright' --dpkgopt='path-include=/usr/share/doc/*/changelog.Debian.*' --dpkgopt='path-exclude=/usr/share/{doc,info,man,omf,help,gnome/help}/*' --variant=essential --format=directory --architecture=armhf stable target2 W: running chrootless mode as root might damage the host system I: skipping emulation check in chrootless mode E: cannot open /etc/dpkg/dpkg.cfg.d/99mmdebstrap: No such file or directory W: listening on child socket failed: root@isildor:~/mm# ls -la /etc/dpkg/dpkg.cfg.d/99mmdebstrap -rw-r--r-- 1 root root 0 Feb 22 07:56 /etc/dpkg/dpkg.cfg.d/99mmdebstrap root@isildor:~/mm# ls -la target2/etc/ total 12 drwxr-xr-x 3 root root 4096 Feb 22 07:56 . drwxr-xr-x 5 root root 4096 Feb 22 07:56 .. drwxr-xr-x 5 root root 4096 Feb 22 07:56 apt Possibly mmdeboostrap needs to copy this file to TARGET? Or do I need to do so with hooks? -- tobi -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-3-amd64 (SMP w/12 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mmdebstrap depends on: ii apt 2.1.20 ii perl 5.32.1-2 ii python3 3.9.1-1 Versions of packages mmdebstrap recommends: ii arch-test 0.17-1 ii fakechroot 2.19-3.3 ii fakeroot 1.25.3-1.1 ii gpg 2.2.27-1 ii libdistro-info-perl 1.0 ii mount 2.36.1-7 ii uidmap 1:4.8.1-1 Versions of packages mmdebstrap suggests: ii apt [apt-transport-https] 2.1.20 pn apt-transport-tor <none> ii apt-utils 2.1.20 ii binfmt-support 2.2.1-1 ii ca-certificates 20210119 ii debootstrap 1.0.123 ii distro-info-data 0.46 ii dpkg-dev 1.20.7.1 ii perl-doc 5.32.1-2 pn proot <none> ii qemu-user 1:5.2+dfsg-6 ii qemu-user-static 1:5.2+dfsg-6 pn squashfs-tools-ng <none> -- no debconf information