From 3c48bce2b2cdcfb6457c6cd1b6fba0c2578b18be Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 22 Oct 2018 11:32:59 +0200 Subject: [PATCH] don't set /usr/bin/env in FAKECHROOT_CMD_SUBST --- mmdebstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index 1738176..45ff48c 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -867,9 +867,10 @@ sub setup { print_progress "done"; if ($options->{mode} eq 'fakechroot') { + # FIXME: if trouble arises, look into /etc/fakechroot/*.env for + # more interesting variables to set $ENV{FAKECHROOT_CMD_SUBST} = join ':', ( '/bin/mount=/bin/true', - '/usr/bin/env=/usr/bin/env.fakechroot', '/usr/bin/ldd=/usr/bin/ldd.fakechroot', '/usr/bin/mkfifo=/bin/true', '/usr/sbin/ldconfig=/bin/true',