From 1ccce37de07a1b0d1d5ff8437a77fbe70b2a5dc7 Mon Sep 17 00:00:00 2001 From: jvdias Date: Wed, 13 Jul 2005 23:30:53 +0000 Subject: [PATCH] bug 151852 addendum: silence mount of /proc under chroot if root user not granted CAP_MOUNT capability --- named.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/named.init b/named.init index aaeb39e..691b3ba 100755 --- a/named.init +++ b/named.init @@ -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