From: Niels de Vos <ndevos@redhat.com>
To: Jim Rees <rees@umich.edu>
Cc: Chuck Lever <chuck.lever@oracle.com>,
Steve Dickson <steved@redhat.com>,
linux-nfs@vger.kernel.org
Subject: Re: [PATCH] rpcbind: Only listen on requested hostnames for NC_TPI_COTS connections
Date: Tue, 24 Apr 2012 17:39:43 +0200 [thread overview]
Message-ID: <4F96C93F.3060908@redhat.com> (raw)
In-Reply-To: <20120424152950.GB13191@umich.edu>
On 04/24/2012 05:29 PM, Jim Rees wrote:
> Niels de Vos wrote:
>
> On 04/23/2012 06:22 PM, Chuck Lever wrote:
> >
> > So you did check the mail archive? I seem to recall other patches like
> > this in the past, and that there is a reason why rpcbind works this way.
> > I simply don't remember the specifics right at the moment.
>
> I did, but no messages about this subject come up for me... Maybe I'm looking
> in the wrong places :-/
>
> I asked about this last November, and at that time Chuck referred me to the
> mail archive too. I couldn't find any discussion either. But the behavior
> is intentional, so I don't think you'll get a patch accepted. I never did
> discover the reason but I do have a workaround. I just don't run rpcbind.
Many thanks for the pointer, I think this should be an acceptable solution.
Cheers,
Niels
> This was the most informative response I got:
>
> Date: Tue, 8 Nov 2011 19:01:51 +1100
> From: Max Matveev<makc@redhat.com>
> Subject: Re: rpcbind -h
> To: Jim Rees<rees@umich.edu>
> Cc: Chuck Lever<chuck.lever@oracle.com>, linux-nfs@vger.kernel.org
>
> Chuck's quote from the manpage reminded me - -h was used to work
> around the address selection: if server has more then one address the
> reply may use any of them. Some clients don't like it.
>
> This issue should go away after
>
> commit 74ef3df0236c55185225c62fba34953f2582da72
> Author: Olaf Kirch<okir@suse.de>
> Date: Wed Mar 2 10:09:24 2011 -0500
>
> was added to libtirpc.
>
> rees> As I said before, I was hoping for the equivalent of "portmap
> rees> -l". I was ready to code up a patch of some kind but now have
> rees> a workaround (mount with nolock and don't run rpcbind at all).
>
> iptables is another option.
>
> max
next prev parent reply other threads:[~2012-04-24 15:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-23 15:24 [PATCH] rpcbind: Only listen on requested hostnames for NC_TPI_COTS connections Niels de Vos
2012-04-23 15:33 ` Chuck Lever
2012-04-23 16:02 ` Niels de Vos
2012-04-23 16:22 ` Chuck Lever
2012-04-24 15:04 ` Niels de Vos
2012-04-24 15:18 ` Chuck Lever
2012-04-24 15:47 ` Niels de Vos
2012-04-24 15:29 ` Jim Rees
2012-04-24 15:39 ` Niels de Vos [this message]
2012-04-24 15:40 ` Chuck Lever
2012-04-24 15:58 ` Myklebust, Trond
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=4F96C93F.3060908@redhat.com \
--to=ndevos@redhat.com \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=rees@umich.edu \
--cc=steved@redhat.com \
/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.