the reason we need portmap/rpcbind is so we can communicate with rpc.statd, so make sure we depend on it for nfs mounts
This commit is contained in:
		| @@ -44,6 +44,7 @@ depend() { | ||||
| 	# is set to mount at boot | ||||
| 	local pmap="" | ||||
| 	if need_portmap; then | ||||
| 		pmap="${pmap} rpc.statd" | ||||
| 		[ -x /etc/init.d/rpcbind ] \ | ||||
| 			&& pmap="rpcbind" \ | ||||
| 			|| pmap="portmap" | ||||
| @@ -51,7 +52,7 @@ depend() { | ||||
|  | ||||
| 	config /etc/fstab | ||||
| 	need net ${pmap} | ||||
| 	use afc-client amd autofs dns nfs nfsmount portmap rpcbind | ||||
| 	use afc-client amd autofs dns nfs nfsmount portmap rpcbind rpc.statd | ||||
| } | ||||
|  | ||||
| start() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user