[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automount problem with backports nfs-common and squeeze initscripts



On 03/24/2012 03:47 PM, Adam D. Barratt wrote:
It looks okay to me, although I'd like to see a final debdiff before
acking an upload; thanks.  Any comment from the sysvinit side?

Attached is a debdiff for squeeze-proposed-updates. I hope i got the version numbering right.

	--dkg
diff -u sysvinit-2.88dsf/debian/changelog sysvinit-2.88dsf/debian/changelog
--- sysvinit-2.88dsf/debian/changelog
+++ sysvinit-2.88dsf/debian/changelog
@@ -1,3 +1,10 @@
+sysvinit (2.88dsf-13.1+squeeze1) squeeze-proposed-updates; urgency=low
+
+  * Non-maintainer upload.
+  * enable use of rpcbind instead of portmap (Closes: #620788)
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>  Sat, 24 Mar 2012 16:10:08 -0400
+
 sysvinit (2.88dsf-13.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs
--- sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs
+++ sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs
@@ -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
 

Reply to: