From d83ffdb6b506c7decbbfc3b9e242f34bc0a06be4 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Mon, 22 Jun 2015 10:08:19 +0200 Subject: Use "none" instead of "/dev/pts" as device for the /dev/pts mount inside the chroot Closes: #788580 --- pbuilder-modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-modules') 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 -- cgit v1.2.3