Johannes Schauer Marin Rodrigues wrote:

> Thank you, your input was very valuable because proot was essentially
> broken since 16 August 2021 and I was waiting for somebody to tell me
> that they are a proot user and why they need it. You are a proot user
> but it seems that creating the chroot in fakechroot mode instead of
> proot still lets you do what you need. Now I guess I can remove it for
> good.

With mmdebstrap 0.7.5-2.2 on my Debian stable install, so far I can
still run for example

  mmdebstrap --mode=proot --include=hello testing /tmp/proot

This ends with the error message that prompted our previous discussion.

The created chroot is usable with proot, however the package “hello” is
NOT available inside (perhaps due to the error during chroot creation).
But I can install it with apt.

So far nothing new.  But when I try (as I believe you suggest), to
execute the following command:

  mmdebstrap --mode=fakechroot --include=hello testing /tmp/fakechroot

I obtain an error that includes a segmentation fault (see below for the
full output).  Am I doing anything wrong?  But, I guess, even if I am,
the above command should not result in a segfault.

Thanks
Christoph

---------------- 8< ----------------
I: chroot architecture amd64 is equal to the host's architecture
I: automatically chosen format: directory
I: running apt-get update...
done
I: downloading packages with apt...
done
I: extracting archives...
done
/usr/sbin/chroot.fakechroot: line 105: 18113 Segmentation fault env -u
FAKECHROOT_BASE_ORIG FAKECHROOT_CMD_ORIG=
LD_LIBRARY_PATH="$fakechroot_chroot_paths"
FAKECHROOT_BASE="$fakechroot_chroot_base" "$fakechroot_chroot_chroot"
"${@:1:$(($fakechroot_chroot_n - 1))}"
"${fakechroot_chroot_newroot#$FAKECHROOT_BASE_ORIG}"
"${@:$(($fakechroot_chroot_n + 1))}"
I: the /bin/mv binary inside the chroot doesn't work under fakechroot
I: with certain versions of coreutils and glibc, this is due to missing support
for renameat2 in fakechroot
I: see https://github.com/dex4er/fakechroot/issues/60
I: expect package post installation scripts not to work
I: installing essential packages...
done
/usr/sbin/chroot.fakechroot: line 105: 18134 Segmentation fault env -u
FAKECHROOT_BASE_ORIG FAKECHROOT_CMD_ORIG=
LD_LIBRARY_PATH="$fakechroot_chroot_paths"
FAKECHROOT_BASE="$fakechroot_chroot_base" "$fakechroot_chroot_chroot"
"${@:1:$(($fakechroot_chroot_n - 1))}"
"${fakechroot_chroot_newroot#$FAKECHROOT_BASE_ORIG}"
"${@:$(($fakechroot_chroot_n + 1))}"
E: run_chroot failed: E: env --unset=APT_CONFIG --unset=TMPDIR /usr/sbin/chroot
/tmp/fakechroot dpkg --install --force-depends --status-fd=<$fd>
/var/cache/apt/archives//base-files_12.2_amd64.deb
/var/cache/apt/archives//base-passwd_3.6.0_amd64.deb
/var/cache/apt/archives//bash_5.2~rc2-2_amd64.deb
/var/cache/apt/archives//bsdutils_1%3a2.38.1-1_amd64.deb
/var/cache/apt/archives//coreutils_8.32-4.1_amd64.deb
/var/cache/apt/archives//dash_0.5.11+git20210903+057cd650a4ed-9_amd64.deb
/var/cache/apt/archives//debconf_1.5.79_all.deb
/var/cache/apt/archives//debianutils_5.7-0.3_amd64.deb
/var/cache/apt/archives//diffutils_1%3a3.8-1_amd64.deb
/var/cache/apt/archives//dpkg_1.21.9_amd64.deb
/var/cache/apt/archives//findutils_4.9.0-3_amd64.deb
/var/cache/apt/archives//gcc-12-base_12.2.0-1_amd64.deb
/var/cache/apt/archives//grep_3.7-1_amd64.deb
/var/cache/apt/archives//gzip_1.12-1_amd64.deb
/var/cache/apt/archives//hostname_3.23_amd64.deb
/var/cache/apt/archives//init-system-helpers_1.64_all.deb
/var/cache/apt/archives//libacl1_2.3.1-1_amd64.deb
/var/cache/apt/archives//libattr1_1%3a2.5.1-1_amd64.deb
/var/cache/apt/archives//libaudit-common_1%3a3.0.7-1_all.deb
/var/cache/apt/archives//libaudit1_1%3a3.0.7-1+b1_amd64.deb
/var/cache/apt/archives//libblkid1_2.38.1-1_amd64.deb
/var/cache/apt/archives//libbz2-1.0_1.0.8-5_amd64.deb
/var/cache/apt/archives//libc-bin_2.34-7_amd64.deb
/var/cache/apt/archives//libc6_2.34-7_amd64.deb
/var/cache/apt/archives//libcap-ng0_0.8.3-1+b1_amd64.deb
/var/cache/apt/archives//libcap2_1%3a2.44-1_amd64.deb
/var/cache/apt/archives//libcrypt1_1%3a4.4.28-2_amd64.deb
/var/cache/apt/archives//libdb5.3_5.3.28+dfsg1-0.10_amd64.deb
/var/cache/apt/archives//libdebconfclient0_0.264_amd64.deb
/var/cache/apt/archives//libgcc-s1_12.2.0-1_amd64.deb
/var/cache/apt/archives//libgcrypt20_1.10.1-2_amd64.deb
/var/cache/apt/archives//libgmp10_2%3a6.2.1+dfsg1-1_amd64.deb
/var/cache/apt/archives//libgpg-error0_1.45-2_amd64.deb
/var/cache/apt/archives//liblz4-1_1.9.4-1_amd64.deb
/var/cache/apt/archives//liblzma5_5.2.5-2.1_amd64.deb
/var/cache/apt/archives//libmount1_2.38.1-1_amd64.deb
/var/cache/apt/archives//libpam-modules-bin_1.5.2-2_amd64.deb
/var/cache/apt/archives//libpam-modules_1.5.2-2_amd64.deb
/var/cache/apt/archives//libpam-runtime_1.5.2-2_all.deb
/var/cache/apt/archives//libpam0g_1.5.2-2_amd64.deb
/var/cache/apt/archives//libpcre2-8-0_10.40-1_amd64.deb
/var/cache/apt/archives//libpcre3_2%3a8.39-14_amd64.deb
/var/cache/apt/archives//libselinux1_3.4-1+b1_amd64.deb
/var/cache/apt/archives//libsmartcols1_2.38.1-1_amd64.deb
/var/cache/apt/archives//libsystemd0_251.4-3_amd64.deb
/var/cache/apt/archives//libtinfo6_6.3+20220423-2_amd64.deb
/var/cache/apt/archives//libudev1_251.4-3_amd64.deb
/var/cache/apt/archives//libuuid1_2.38.1-1_amd64.deb
/var/cache/apt/archives//libzstd1_1.5.2+dfsg-1_amd64.deb
/var/cache/apt/archives//login_1%3a4.11.1+dfsg1-2_amd64.deb
/var/cache/apt/archives//lsb-base_11.2_all.deb
/var/cache/apt/archives//mawk_1.3.4.20200120-3.1_amd64.deb
/var/cache/apt/archives//ncurses-base_6.3+20220423-2_all.deb
/var/cache/apt/archives//ncurses-bin_6.3+20220423-2_amd64.deb
/var/cache/apt/archives//perl-base_5.34.0-5_amd64.deb
/var/cache/apt/archives//sed_4.8-1_amd64.deb
/var/cache/apt/archives//sysvinit-utils_3.04-1_amd64.deb
/var/cache/apt/archives//tar_1.34+dfsg-1_amd64.deb
/var/cache/apt/archives//util-linux-extra_2.38.1-1_amd64.deb
/var/cache/apt/archives//util-linux_2.38.1-1_amd64.deb
/var/cache/apt/archives//zlib1g_1%3a1.2.11.dfsg-4.1_amd64.deb failed
W: listening on child socket failed: 

Attachment: signature.asc
Description: PGP signature

Reply via email to