rpms/bind/FC-5 bind.spec,1.111,1.112 named.init,1.45,1.46

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Oct 26 14:29:26 UTC 2006


Author: stransky

Update of /cvs/dist/rpms/bind/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv23836

Modified Files:
	bind.spec named.init 
Log Message:
added fix for #212348, work in progress


Index: bind.spec
===================================================================
RCS file: /cvs/dist/rpms/bind/FC-5/bind.spec,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- bind.spec	26 Oct 2006 10:14:05 -0000	1.111
+++ bind.spec	26 Oct 2006 14:29:23 -0000	1.112
@@ -784,6 +784,7 @@
   as non-root user
 - added fix for #207322: yum -y update results in error due to file conflict
   for bind
+- added fix for #212348: chroot'd named causes df permission denied error
 
 * Mon Oct 16 2006 Martin Stransky <stransky at redhat.com> - 30:9.3.3-0.1.rc2
 - update to the latest upstream (9.3.3rc2)


Index: named.init
===================================================================
RCS file: /cvs/dist/rpms/bind/FC-5/named.init,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- named.init	16 Oct 2006 10:21:15 -0000	1.45
+++ named.init	26 Oct 2006 14:29:24 -0000	1.46
@@ -107,7 +107,7 @@
 		    mkdir -p ${ROOTDIR}/proc
 		fi
 		if ! egrep -q '^/proc[[:space:]]+'${ROOTDIR}'/proc' /proc/mounts; then
-		    mount --bind /proc ${ROOTDIR}/proc >/dev/null 2>&1 
+		    mount --bind -n /proc ${ROOTDIR}/proc >/dev/null 2>&1 
 		fi
 		if [ $dbusEnabled -eq 1 ]; then
 		    if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${ROOTDIR}'/var/run/dbus' /proc/mounts; then
@@ -115,7 +115,7 @@
 			if [ ! -d  /var/run/dbus ] ; then
 			    mkdir -p /var/run/dbus ;
 			fi;
-			mount --bind /var/run/dbus ${ROOTDIR}/var/run/dbus > /dev/null 2>&1;
+			mount --bind -n /var/run/dbus ${ROOTDIR}/var/run/dbus > /dev/null 2>&1;
 		    fi;		    
 		fi;		
 	fi




More information about the fedora-cvs-commits mailing list