Bug#1120598: ls input/output error ("NFS: readdir(/) returns -5") on krb5 NFSv4 client using SHA2
- To: Salvatore Bonaccorso <carnil@debian.org>
- Cc: "Tyler W. Ross" <TWR@tylerwross.com>, Scott Mayhew <smayhew@redhat.com>, Trond Myklebust <trondmy@kernel.org>, Chuck Lever <chuck.lever@oracle.com>, Anna Schumaker <anna@kernel.org>, "1120598@bugs.debian.org" <1120598@bugs.debian.org>, Jeff Layton <jlayton@kernel.org>, NeilBrown <neil@brown.name>, Steve Dickson <steved@redhat.com>, Olga Kornievskaia <okorniev@redhat.com>, Dai Ngo <Dai.Ngo@oracle.com>, Tom Talpey <tom@talpey.com>, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org
- Subject: Bug#1120598: ls input/output error ("NFS: readdir(/) returns -5") on krb5 NFSv4 client using SHA2
- From: Simon Josefsson <simon@josefsson.org>
- Date: Wed, 19 Nov 2025 21:54:42 +0100
- Message-id: <[🔎] 87zf8hhhf1.fsf@josefsson.org>
- Reply-to: Simon Josefsson <simon@josefsson.org>, 1120598@bugs.debian.org
- In-reply-to: <[🔎] aR1MiaZYVc4kR8Yf@eldamar.lan> (Salvatore Bonaccorso's message of "Wed, 19 Nov 2025 05:50:17 +0100")
- References: <[🔎] aRZL8kbmfbssOwKF@eldamar.lan> <[🔎] fVv3cF7Ulh3cKUP17C98gh_uOv9BcMlMpsIh1Nv5_0tdw-75PKiPJgIEP5o2jBVry7orwz7jeiGQenfCbuUxyj5JFstbx3RTFYr223qDmV0=@tylerwross.com> <[🔎] a6d1435b-f507-49eb-b80c-4322dc7e1157@oracle.com> <[🔎] Y79HV0VGpScPYqI_dDxeItkX2UZwSdReaUOpIeMeZXq2HLsHf5J_PTQqr7HrBYygICRsn-OB89QPrxPzjgv2smuzTThUPy_3fq_N1NprlUg=@tylerwross.com> <[🔎] 4a63ad3d-b53a-4eab-8ffb-dd206f52c20e@oracle.com> <902ff4995d8e75ad1cd2196bf7d8da42932fba35.camel@kernel.org> <[🔎] aRunktdq8sJ7Eecj@aion> <[🔎] db8b1ef4-afbb-4c23-b7f1-9ae688cef363@TylerWRoss.com> <[🔎] aRyyWy6hO1ueKf5_@aion> <[🔎] 85cd9202-dc22-41b8-8a20-e82cd118215f@TylerWRoss.com> <[🔎] aR1MiaZYVc4kR8Yf@eldamar.lan> <[🔎] 176298368872.955.14091113173156448257.reportbug@nfsclient-sid.ipa.twrlab.net>
Salvatore Bonaccorso <carnil@debian.org> writes:
> I'm looping in here the gssproxy maintainer as well. Simon, this is
> about https://bugs.debian.org/1120598 . I assume there is nothing on
> gssroxy side which can be done to warn about the situation, quoting
> again:
>
>> The actual issue at hand then seems to be that gssproxy is requesting (and
>> receiving) a service ticket with an unusable (for the NFS mount) enctype,
>> when performing constrained delegation/S4U2Proxy.
>
> ?
It isn't clear to me if the gssproxy behaviour is buggy or just
sub-optimal, but it seems like gssproxy upstream could develop some
patch to make the enctypes match. I'm not sure if that is generally a
safe thing, even if it would fix the problem. Anyway, I think this
looks definitely beyond any Debian-specific concern about gssproxy so I
think some upstream recommendation is needed here, and I don't have a
working NFSv4 gss setup available to debug this.
/Simon
Attachment:
signature.asc
Description: PGP signature
Reply to: