rpms/nfs-utils/F-9 nfs-utils.spec,1.174,1.175 nfs.init,1.27,1.28

Steve Dickson steved at fedoraproject.org
Mon Dec 1 15:45:58 UTC 2008


Author: steved

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

Modified Files:
	nfs-utils.spec nfs.init 
Log Message:
- Make sure /proc/fs/nfsd exists when the nfs init script
  does the exports (bz 473396)



Index: nfs-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/F-9/nfs-utils.spec,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -r1.174 -r1.175
--- nfs-utils.spec	3 Jul 2008 15:14:52 -0000	1.174
+++ nfs-utils.spec	1 Dec 2008 15:45:28 -0000	1.175
@@ -257,6 +257,10 @@
 %attr(4755,root,root)   /sbin/umount.nfs4
 
 %changelog
+* Mon Dec  1 2008 Steve Dickson <steved at redhat.com> 1.1.2-7
+- Make sure /proc/fs/nfsd exists when the nfs init script
+  does the exports (bz 473396)
+
 * Wed Jul  2 2008 Steve Dickson <steved at redhat.com> 1.1.2-6
 - Changed the default directories for sm-notify (bz 435480)
 - Removed the nfslock service start/stop from %%post section 


Index: nfs.init
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/F-9/nfs.init,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- nfs.init	30 Jul 2007 10:10:07 -0000	1.27
+++ nfs.init	1 Dec 2008 15:45:28 -0000	1.28
@@ -52,6 +52,11 @@
 	# Start daemons.
 	[ -x /usr/sbin/rpc.svcgssd ] && /sbin/service rpcsvcgssd start
 
+	# Load the nfsd module so /proc/fs/nfsd will exist
+	[ "$NFSD_MODULE" != "noload" ] && {
+		[ -x /sbin/modprobe ] && /sbin/modprobe nfsd
+	}
+
 	action $"Starting NFS services: " /usr/sbin/exportfs -r
 
 	# Set the ports lockd should listen on




More information about the fedora-extras-commits mailing list