[Pkg-sysvinit-commits] r1960 - in sysvinit/trunk/debian: . src/initscripts/etc/network/if-up.d

Kel Modderman kelmo-guest at alioth.debian.org
Sat Apr 16 21:15:26 UTC 2011


Author: kelmo-guest
Date: 2011-04-16 21:15:26 +0000 (Sat, 16 Apr 2011)
New Revision: 1960

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/src/initscripts/etc/network/if-up.d/mountnfs
Log:
Consider rpcbind as alternative to portmap in mountnfs ifupdown
script. Thanks to Jamie Heilman and Arthur de Jong.
(Closes: #620788)

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2011-04-16 20:46:02 UTC (rev 1959)
+++ sysvinit/trunk/debian/changelog	2011-04-16 21:15:26 UTC (rev 1960)
@@ -1,3 +1,11 @@
+sysvinit (2.88dsf-14) UNRELEASED; urgency=low
+
+  * Consider rpcbind as alternative to portmap in mountnfs ifupdown
+    script. Thanks to Jamie Heilman and Arthur de Jong.
+    (Closes: #620788)
+
+ -- Kel Modderman <kel at otaku42.de>  Sun, 17 Apr 2011 07:14:54 +1000
+
 sysvinit (2.88dsf-13.4) experimental; urgency=low
 
   [ Roger Leigh ]

Modified: sysvinit/trunk/debian/src/initscripts/etc/network/if-up.d/mountnfs
===================================================================
--- sysvinit/trunk/debian/src/initscripts/etc/network/if-up.d/mountnfs	2011-04-16 20:46:02 UTC (rev 1959)
+++ sysvinit/trunk/debian/src/initscripts/etc/network/if-up.d/mountnfs	2011-04-16 21:15:26 UTC (rev 1960)
@@ -98,9 +98,10 @@
 	# and/or rpc.idmapd, and loads the right kernel modules if
 	# applicable) if we use Kerberos and/or NFSv4 mounts.
 	#
-	if [ "$start_nfs" = yes ] && [ -x /etc/init.d/portmap ] && [ -x /etc/init.d/nfs-common ]
+	if [ "$start_nfs" = yes ] && [ -x /etc/init.d/nfs-common ]
 	then
-		/etc/init.d/portmap start
+		[ -x /etc/init.d/portmap ] && /etc/init.d/portmap start
+		[ -x /etc/init.d/rpcbind ] && /etc/init.d/rpcbind start
 		/etc/init.d/nfs-common start
 	fi
 




More information about the Pkg-sysvinit-commits mailing list