Bug 2231596
| Summary: | regression: krb5 nfs mounts fail with kernel 6.4 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Enrico Scholz <rh-bugzilla> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 38 | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarod, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved, troels |
| Target Milestone: | --- | Keywords: | Regression, Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-16 21:46:25 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Enrico Scholz
2023-08-12 09:31:37 UTC
kernel 6.4 offers more enctypes; e.g. kernel 6.3 shows | handle_gssd_upcall(0x7f6d05a6d840): 'mech=krb5 uid=0 service=* enctypes=18,17' (nfs/clnt0) while 6.4 has | handle_gssd_upcall(0x7fd007647840): 'mech=krb5 uid=0 service=* enctypes=20,19,26,25,18,17' (nfs/clnt0) rpc-gssd seems to send only packets for the first enctype (20) which is not supported by the server. Removing the unsupported enctypes from the server keytab restores operation. I don't see how this can be closed. I have a number of F38 clients which can suddenly not mount Kerberized NFS shares from anything else than F38 based NFS servers. For example, I have an NFS server running Centos 8 Stream, and it works fine with NFS clients running Ubuntu 22 or CentOS Stream 8, but none of the Fedora 38 clients can mount from it. I spent many hours trying all sorts of things (kerberized NFS is not the easiest thing in the first place), and then I finally realized that it was due to the rather minor kernel version difference. On the CentOS 8 Stream server, it looks like this in journald when I run "rpcdebug -m rpc -s all" and then try to mount from a F38 host: Sep 17 17:32:38 servername.somedomain kernel: gss_kerberos_mech: unsupported krb5 enctype 20 Sep 17 17:32:38 servername.somedomain kernel: RPC: gss_import_sec_context_kerberos: returning -22 Sep 17 17:32:38 servername.somedomain kernel: RPC: gss_delete_sec_context deleting 000000002bf496ea In my opinion, this is a rather serious regression, and something has to be done about it (but I'm not sure what). After having upgraded both the server (from Stream 8 to Stream 9) and the clients (from Fedora 38 to 39), I can no longer reproduce the problem, so I'm not going to keep this case open. |