rpms/nfs-utils/F-10 nfs-utils.spec,1.191,1.192 nfs.init,1.31,1.32

Steve Dickson steved at fedoraproject.org
Mon Dec 1 14:54:30 UTC 2008


Author: steved

Update of /cvs/pkgs/rpms/nfs-utils/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1557

Modified Files:
	nfs-utils.spec nfs.init 
Log Message:
- Fixed typo in nfs init script that caused rpc.rquotad daemons
  to be started but not stoppped (bz 473929)



Index: nfs-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/F-10/nfs-utils.spec,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -r1.191 -r1.192
--- nfs-utils.spec	1 Dec 2008 13:45:10 -0000	1.191
+++ nfs-utils.spec	1 Dec 2008 14:53:59 -0000	1.192
@@ -244,6 +244,8 @@
 * Mon Dec  1 2008 Steve Dickson <steved at redhat.com> 1.1.4-2
 - Make sure /proc/fs/nfsd exists when the nfs init script
   does the exports (bz 473396)
+- Fixed typo in nfs init script that caused rpc.rquotad daemons
+  to be started but not stoppped (bz 473929)
 
 * Sat Oct 18 2008 Steve Dickson <steved at redhat.com> 1.1.4-1
 - Updated to latest upstream version: 1.1.4


Index: nfs.init
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/F-10/nfs.init,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- nfs.init	1 Dec 2008 13:45:10 -0000	1.31
+++ nfs.init	1 Dec 2008 14:53:59 -0000	1.32
@@ -16,6 +16,12 @@
 # Source networking configuration.
 [ -f /etc/sysconfig/network ] &&  . /etc/sysconfig/network
 
+# Check for and source configuration file otherwise set defaults
+[ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs
+
+# Remote quota server
+[ -z "$RQUOTAD" ] && RQUOTAD=`type -path rpc.rquotad`
+
 RETVAL=0
 
 # See how we were called.
@@ -40,18 +46,12 @@
     	{ touch /etc/exports && chmod u+rw,g+r,o+r /etc/exports ; } || \
     	{ echo "/etc/exports does not exist" ; exit 0 ; }
 
-	# Check for and source configuration file otherwise set defaults
-	[ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs
-
 	[ -z "$MOUNTD_NFS_V2" ] && MOUNTD_NFS_V2=default
 	[ -z "$MOUNTD_NFS_V3" ] && MOUNTD_NFS_V3=default
 
 	# Number of servers to be started by default
 	[ -z "$RPCNFSDCOUNT" ] && RPCNFSDCOUNT=8
 
-	# Remote quota server
-	[ -z "$RQUOTAD" ] && RQUOTAD=`type -path rpc.rquotad`
-
 	# Start daemons.
 	[ -x /usr/sbin/rpc.svcgssd ] && /sbin/service rpcsvcgssd start
 




More information about the fedora-extras-commits mailing list