summaryrefslogtreecommitdiffstats
path: root/named.init
diff options
context:
space:
mode:
authorjvdias <jvdias@fedoraproject.org>2005-07-13 23:30:53 +0000
committerjvdias <jvdias@fedoraproject.org>2005-07-13 23:30:53 +0000
commit1ccce37de07a1b0d1d5ff8437a77fbe70b2a5dc7 (patch)
treeb475311d7332b89f9d33eb09bcd3c3bf8edd96f1 /named.init
parent95280b870dee3849474e0be0795efba3c7962f42 (diff)
bug 151852 addendum: silence mount of /proc under chroot if root user not
granted CAP_MOUNT capability
Diffstat (limited to 'named.init')
-rwxr-xr-xnamed.init2
1 files changed, 1 insertions, 1 deletions
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