From: bfields@fieldses.org (J. Bruce Fields)
To: Sean Elble <elbles@sessys.com>
Cc: Chuck Lever <chucklever@gmail.com>,
Kinglong Mee <kinglongmee@gmail.com>,
Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
linux-nfs-owner@vger.kernel.org
Subject: Re: [PATCH] rpc.nfsd: add no-ipv4 and no-ipv6 options
Date: Mon, 8 Jun 2015 17:12:10 -0400 [thread overview]
Message-ID: <20150608211210.GC27887@fieldses.org> (raw)
In-Reply-To: <d4bfa4c82f2a8ef2dec4dce303c0c96b@mail.sessys.com>
On Mon, Jun 08, 2015 at 10:33:22AM -0400, Sean Elble wrote:
> On 08.06.2015 10:27, Chuck Lever wrote:
> >>I don’t understand the need to “turn off” an address family.
> >>That’s what
> >>/etc/netconfig is supposed to be for. What’s not happening here that
> >>should be?
> >
> >What I mean is: I’d rather not add more command line options if there
> >is a way for rpc.nfsd to automatically and quietly do what is needed.
> >But I don’t understand the use case here. Sean, can you explain it
> >for
> >bears of little brain?
>
> Sure, and please correct me if any of my understanding is incorrect
> (as it may well be). In my environment, I wanted to have NFS only
> listen on one interface of a multihomed host. In using the "--host"
> parameter to do so, I saw the error message regarding IPv6 thrown.
> While disabling IPv6 globally in /etc/netconfig is an option (one I
> understand to be "global", in that it'd affect *all* applications on
> the host), it'd be nice to disable IPv6 for a single service/daemon
> instead.
But doesn't something like
rpc.nfsd --host 10.0.0.1 --no-ipv6
seem a bit redundant?
I mean, you've already told it to listen to that one (ipv4) address.
That'd argue for just disabling the warning in this case, I think. But
my understanding of IPv6 is still poor.
--b.
next prev parent reply other threads:[~2015-06-08 21:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-07 12:53 [PATCH] rpc.nfsd: add no-ipv4 and no-ipv6 options Kinglong Mee
2015-06-07 19:01 ` Chuck Lever
2015-06-08 13:25 ` Kinglong Mee
2015-06-08 14:15 ` Sean Elble
2015-06-08 14:22 ` Chuck Lever
2015-06-08 14:27 ` Chuck Lever
2015-06-08 14:33 ` Sean Elble
2015-06-08 14:45 ` Chuck Lever
2015-06-08 16:49 ` Sean Elble
2015-06-08 21:12 ` J. Bruce Fields [this message]
2015-06-09 1:57 ` Sean Elble
2015-06-09 15:37 ` Chuck Lever
2015-06-09 15:37 ` J. Bruce Fields
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=20150608211210.GC27887@fieldses.org \
--to=bfields@fieldses.org \
--cc=chucklever@gmail.com \
--cc=elbles@sessys.com \
--cc=kinglongmee@gmail.com \
--cc=linux-nfs-owner@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.