summaryrefslogtreecommitdiffstats
path: root/etc/pbuilderrc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-30 13:56:31 +0200
committerHolger Levsen <holger@layer-acht.org>2015-03-30 13:56:31 +0200
commitc043e630c5d42cfbbde417e88d2e69bf54a9c76f (patch)
tree9cf523b1dc59c713c7353a110a208305b92f5344 /etc/pbuilderrc
parent7017ce4ce2a5161bb11e96d250edf3e722a70cea (diff)
downloadjenkins.debian.net-c043e630c5d42cfbbde417e88d2e69bf54a9c76f.tar.xz
pbuilderrc: set PATH to predictable values, see #780729 and #780725
Diffstat (limited to 'etc/pbuilderrc')
-rw-r--r--etc/pbuilderrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/pbuilderrc b/etc/pbuilderrc
index e21c1ae6..dc9b8853 100644
--- a/etc/pbuilderrc
+++ b/etc/pbuilderrc
@@ -14,7 +14,8 @@ export -n http_proxy
# remove /run/shm bindmount once we are running jessie - this is a workaround for #700591
# /sys and /proc were added as workarounds for #773767
BINDMOUNTS="$BINDMOUNTS /run/shm /dev/shm /sys"
-
+# set PATH to predictable values, see #780729 and #780725
+PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
# Use a different umask, but only do so when the UTS namespace differs from pid 1's UTS namespace.
# This is only the case for the 2nd pbuilder run, which is started by bin/reproducible_build.sh
# using 'unshare --uts'...