summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjvdias <jvdias@fedoraproject.org>2005-03-22 21:54:12 +0000
committerjvdias <jvdias@fedoraproject.org>2005-03-22 21:54:12 +0000
commit1abbaa0a010be9b0ff009db49c98feec0fc2d27c (patch)
tree731dd39748bf38c44b0074d74bf5f773688cb602
parent68d77b9a5ddb026db96e070c8a18a270bfd3233a (diff)
downloadbind-1abbaa0a010be9b0ff009db49c98feec0fc2d27c.tar.gz
bind-1abbaa0a010be9b0ff009db49c98feec0fc2d27c.tar.xz
bind-1abbaa0a010be9b0ff009db49c98feec0fc2d27c.zip
fix bug 151852
-rwxr-xr-xnamed.init6
1 files changed, 6 insertions, 0 deletions
diff --git a/named.init b/named.init
index fe0117f..42255ee 100755
--- a/named.init
+++ b/named.init
@@ -41,6 +41,12 @@ start() {
if [ -s /etc/localtime ]; then
cp -fp /etc/localtime ${ROOTDIR}/etc/localtime
fi;
+ if [ ! -d ${ROOTDIR}/proc ]; then
+ mkdir -p ${ROOTDIR}/proc
+ fi
+ if ! egrep -q "${ROOTDIR}/proc proc" /etc/mtab; then
+ mount -tproc none ${ROOTDIR}/proc
+ fi
fi
no_write_master_zones=0
if [ -e /etc/selinux/config ]; then