On 08/04/2018 04:43 AM, Ian Kent wrote:
Mind you the Ubuntu maintainers probably should set this to 4 in the default installed autofs configuration because they will know the nfs-utils package in their distribution uses NFSv4 by default.
I'm about to file a bug report against the systemd NFS service units + /etc/default/nfs-kernel-server file which ship with Ubuntu 18.04 and are a horrible mess, with environment variables in /etc/default/nfs-kernel-server that don't ever get instantiated by the systemd service files, and services that get triggered when they shouldn't be.
For example, if I add the "-U" flag to rpc.nfsd (indirectly, /etc/default/nfs-kernel-server) this launches rpc.svcgssd, which then fails, complaining that the NFS server doesn't have credentials in /etc/krb5.conf. Yes, of course it doesn't: we're using the campus Microsoft AD for authentication only; the NFS server is entirely separate and not managed through kerberos.
I wrote it all up and posted to linux-nfs@xxxxxxxxxxxxxxx for comment, if anyone is on that list. My post there was just ignored, so the issue must be Ubuntu-specific.
-- To unsubscribe from this list: send the line "unsubscribe autofs" in