[Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-18 Thread Andreas Hasenack
> It was only partly successful, it failed to merge udp = y into the new conf. I don't see specific UDP options in the two /etc/default/nfs-* files attached to this bug, so there was nothing to convert to /etc/nfs.conf.d/local.conf regarding UDP. It's probably the default that changed (before udp

[Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-17 Thread Robert Dinse
It was only partly successful, it failed to merge udp = y into the new conf. Also Ubuntu's decision to compile their kernels without UDP support is dumb. It does not make a huge difference in size or speed of the kernel and it does eliminate legacy support as the original NFS version 2 and

[Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-17 Thread Andreas Hasenack
The kernel we ship has nfs udp disabled, I missed that you were running a custom kernel. But thanks for the feedback. I think we need to remove or add a big fat comment to the obsolete /etc/default/nfs-* files, and I filed a bug for it:

[Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-16 Thread Robert Dinse
This is just plain WRONG. The issue is NOT the kernel, upstream or otherwise. I am using 5.17.7 compiled directly from kernel source off of kernel.org, and was using the SAME kernel under 20.04. The issue was your new configuration file, /etc/nfs.conf, that did not exist prior to 22.04, and

[Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-16 Thread Andreas Hasenack
NFS UDP was disabled in the upstream kernel[1] in 2019, and the first Ubuntu release with that change was 20.10 (groovy). I didn't find this change in the 20.10 release notes, and added this bit to the 22.04 release notes[2] about a month before the release: """ UDP disabled for NFS mounts Since

Re: [Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-14 Thread Robert Dinse
Thank  you very much.  The disabling of udp by default is what broke version 2 and version 3, and since TCP were not part of the NFS specification for either of these versions, making it the default makes ZERO sense. On 5/12/22 11:44, Andreas Hasenack wrote: > rpcinfo -s j1-nfs-server -- You

[Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-12 Thread Andreas Hasenack
I did some tests, and looks like I was able to configure ubuntu 22.04 to export NFS v2. I was able to mount from an ubuntu 14.04 machine specifying vers=2: t1 is trusty (14.04), j1 is jammy (22.04): root@t1:~# rpcinfo -s j1-nfs-server program version(s) netid(s) service

[Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-12 Thread Andreas Hasenack
Hi, I believe NFS version 2 is no longer supported. I will check when that was dropped exactly. Regarding v3, the UDP transport is no longer available, only TCP. Can you check if your v3 clients are forcing UDP perhaps, and thus failing? It would in fact be helpful if you could show the error

[Bug 1973101] Re: After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work

2022-05-11 Thread Robert Dinse
ubuntu-bug included mounts of other file systems on this machine, but it is the EXPORTS that aren't working NOT the mounts from other systems. Here is the content of /etc/exports: # /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See