SOURCES: rpcsvcgssd.init - /proc/fs/nfsd must be mounted before sv...

baggins baggins at pld-linux.org
Wed Apr 4 19:18:06 CEST 2007


Author: baggins                      Date: Wed Apr  4 17:18:06 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- /proc/fs/nfsd must be mounted before svcgssd is started

---- Files affected:
SOURCES:
   rpcsvcgssd.init (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/rpcsvcgssd.init
diff -u SOURCES/rpcsvcgssd.init:1.3 SOURCES/rpcsvcgssd.init:1.4
--- SOURCES/rpcsvcgssd.init:1.3	Sat Mar 31 22:57:36 2007
+++ SOURCES/rpcsvcgssd.init	Wed Apr  4 19:18:01 2007
@@ -43,6 +43,11 @@
   start)
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/svcgssd ]; then
+		# We need /proc/fs/nfsd mounted before starting svcgssd
+		if ! grep -q nfsd /proc/mounts ; then
+			modprobe -s nfsd > /dev/null 2>&1
+			run_cmd "Mounting /proc/fs/nfsd filesystem" mount -t nfsd nfsd /proc/fs/nfsd
+		fi
 		if ! grep -q rpc_pipefs /proc/mounts ; then
 			modprobe -s sunrpc >/dev/null 2>&1
 			run_cmd "Mounting /var/lib/nfs/rpc_pipefs filesystem" \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpcsvcgssd.init?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list