From: "J. Bruce Fields" <bfields@fieldses.org>
To: Jan Stancek <jstancek@redhat.com>
Cc: linux-nfs@vger.kernel.org, bfields@redhat.com,
Trond.Myklebust@netapp.com
Subject: Re: [PATCH] NFS: fix NFSv3 with sec=krb5 and CONFIG_NFS_V3_ACL=y
Date: Mon, 8 Jul 2013 16:16:43 -0400 [thread overview]
Message-ID: <20130708201643.GI29071@fieldses.org> (raw)
In-Reply-To: <682ebd8ecc7309b18396da356a0feb38bfa41674.1372692346.git.jstancek@redhat.com>
On Mon, Jul 01, 2013 at 05:32:34PM +0200, Jan Stancek wrote:
> Starting with commit:
> commit f994c43d19a9116727d4c228d3f13db595bff562
> Author: Trond Myklebust <Trond.Myklebust@netapp.com>
> Date: Thu Nov 1 12:14:14 2012 -0400
> SUNRPC: Clean up rpc_bind_new_program
>
> operations on directory mounted with -onfsvers=3,tcp,sec=krb5 fail
> with Input/Output error after ~60 second timeout. This is presumably
> because upcalls for 'nfsacl' are not getting anywhere.
>
> This patch enables pipe dir for nfsacl_program and changes its name
> to 'nfs'. This name will be used in upcalls and whole setup should
> work as it did in past - just with nfs/hostname principal.
I think this was the problem that nfs-utils commits
a1f8afc560 gssd: Remove insane sanity checks of the service name
a56989b665 gssd: Handle the target name correctly
were supposed to fix?
But perhaps the kernel needs a fix too to fix a regression with old
userspace.
--b.
>
> Signed-off-by: Jan Stancek <jstancek@redhat.com>
> ---
> fs/nfs/nfs3client.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/fs/nfs/nfs3client.c b/fs/nfs/nfs3client.c
> index b3fc65e..09a7d06 100644
> --- a/fs/nfs/nfs3client.c
> +++ b/fs/nfs/nfs3client.c
> @@ -9,11 +9,12 @@ static const struct rpc_version *nfsacl_version[] = {
> };
>
> const struct rpc_program nfsacl_program = {
> - .name = "nfsacl",
> + .name = "nfs",
> .number = NFS_ACL_PROGRAM,
> .nrvers = ARRAY_SIZE(nfsacl_version),
> .version = nfsacl_version,
> .stats = &nfsacl_rpcstat,
> + .pipe_dir_name = NFS_PIPE_DIRNAME,
> };
>
> /*
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-07-08 20:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 15:32 [PATCH] NFS: fix NFSv3 with sec=krb5 and CONFIG_NFS_V3_ACL=y Jan Stancek
2013-07-08 20:16 ` J. Bruce Fields [this message]
2013-07-09 6:59 ` Jan Stancek
2013-07-26 22:09 ` J. Bruce Fields
2013-08-15 14:02 ` Jeff Layton
2013-08-15 14:19 ` J. Bruce Fields
2013-08-16 19:04 ` Jeff Layton
2013-08-16 19:16 ` J. Bruce Fields
2013-08-16 20:40 ` Jeff Layton
2013-08-19 12:06 ` Jeff Layton
2013-08-19 12:36 ` simo
2013-08-19 13:15 ` Jeff Layton
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=20130708201643.GI29071@fieldses.org \
--to=bfields@fieldses.org \
--cc=Trond.Myklebust@netapp.com \
--cc=bfields@redhat.com \
--cc=jstancek@redhat.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).