aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
diff options
context:
space:
mode:
authorAxel Beckert <abe@debian.org>2015-06-22 10:08:19 +0200
committerAndreas Henriksson <andreas.henriksson@endian.se>2015-06-22 10:08:19 +0200
commitd83ffdb6b506c7decbbfc3b9e242f34bc0a06be4 (patch)
treea13e037c67da3cca94d469f6cd5632122310f46e /pbuilder-modules
parentee822da2caa038820757c72fc13b8dbd65edd3e3 (diff)
downloadpbuilder-d83ffdb6b506c7decbbfc3b9e242f34bc0a06be4.tar
pbuilder-d83ffdb6b506c7decbbfc3b9e242f34bc0a06be4.tar.gz
Use "none" instead of "/dev/pts" as device for the /dev/pts mount inside the chroot
Closes: #788580
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index 055d611..293e3d9 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -270,7 +270,7 @@ function mountproc () {
TTYGRP=5
TTYMODE=620
[ -f /etc/default/devpts ] && . /etc/default/devpts
- mount -t devpts /dev/pts "$BUILDPLACE/dev/pts" -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE
+ mount -t devpts none "$BUILDPLACE/dev/pts" -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE
mounted[${#mounted[@]}]="$BUILDPLACE/dev/pts"
fi
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then