mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH] nfsutils: select ROOTFS_PROTOCOLS for mount.nfs
Date: Wed, 18 Apr 2018 16:18:40 +0200	[thread overview]
Message-ID: <20180418141840.20888-1-m.tretter@pengutronix.de> (raw)

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

                 reply	other threads:[~2018-04-18 14:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180418141840.20888-1-m.tretter@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox