mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] nfsutils: select ROOTFS_PROTOCOLS for mount.nfs
@ 2018-04-18 14:18 Michael Tretter
  0 siblings, 0 replies; only message in thread
From: Michael Tretter @ 2018-04-18 14:18 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Tretter

mount.nfs uses getprotobyname() which in turn reads /etc/protocols. If
/etc/protocols is missing, mount.nfs fails with

	mount.nfs: Protocol not supported

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 rules/nfsutils.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/nfsutils.in b/rules/nfsutils.in
index c813b4745..bd1052ebb 100644
--- a/rules/nfsutils.in
+++ b/rules/nfsutils.in
@@ -8,6 +8,7 @@ menuconfig NFSUTILS
 	select UTIL_LINUX_NG_LIBMOUNT
 	select RPCBIND			if RUNTIME
 	select LIBTIRPC			if GLOBAL_IPV6
+	select ROOTFS_PROTOCOLS		if NFSUTILS_CLIENT
 	help
 	  The Sun Network Filesystem (NFS) protocol provides transparent remote
 	  access to shared files across networks. The NFS protocol is designed
-- 
2.16.3


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-18 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 14:18 [ptxdist] [PATCH] nfsutils: select ROOTFS_PROTOCOLS for mount.nfs Michael Tretter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox