Package: fakechroot
Version: 2.18-1.1
Severity: normal
Tags: patch
Dear Maintainer,
fakechroot.sh currently doesn't set FAKECHROOT_CMD_ORIG
if it performs a command substitution. In contrast,
execve does.
This results in subtile bugs.
Regards,
JH Chatenet
--- a/scripts/fakechroot.sh
+++ b/scripts/fakechroot.sh
@@ -213,6 +213,11 @@
esac
done
`
+# Set FAKECHROOT_CMD_ORIG if required
+if [ -n "$fakechroot_cmd_wrapper" ]; then
+ FAKECHROOT_CMD_ORIG="$fakechroot_cmd"
+ export FAKECHROOT_CMD_ORIG
+fi
fakechroot_cmd=${fakechroot_cmd_wrapper:-$1}
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages fakechroot depends on:
ii libfakechroot 2.18-1.1
fakechroot recommends no packages.
fakechroot suggests no packages.
-- no debconf information