Hi, the /etc/default/nfs-* files are ignored by the NFS server or client in Ubuntu 22.04. They were left there as a precaution because of the conversion process that converts those options into the new /etc/nfs.conf and /etc/nfs.conf.d/local.conf files. I do agree it causes confusion, and the /etc/default/nfs-* files should either be removed, or have some text explaining that they are there just for old sysvinit compatibility. This may change in a future update.
You should look into /etc/nfs.conf to set these options. There is also a nfs.conf manpage you can review, and the ubuntu server guide was updated regarding this change: https://ubuntu.com/server/docs/service-nfs ** Changed in: nfs-utils (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1971096 Title: Cannot Specify Fixed Ports for mountd and statd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1971096/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs