bug 151852 addendum: silence mount of /proc under chroot if root user not
granted CAP_MOUNT capability
This commit is contained in:
parent
95280b870d
commit
1ccce37de0
@ -46,7 +46,7 @@ start() {
|
||||
mkdir -p ${ROOTDIR}/proc
|
||||
fi
|
||||
if ! egrep -q "${ROOTDIR}/proc proc" /etc/mtab; then
|
||||
mount -tproc none ${ROOTDIR}/proc
|
||||
mount -tproc none ${ROOTDIR}/proc >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
no_write_master_zones=0
|
||||
|
Loading…
Reference in New Issue
Block a user