How do I set arguments for rpc.gssd in /etc/sysconfig/nfs?
I've been using kerberized NFSv3 for a while now on older Fedora-like distributions (mainly CentOS) where I can configure the rpc.gssd executable's behavior by editing this file:
/etc/sysconfig/nfs
usually putting in this content, so that I can use a special keytab just for NFS:
SECURE_NFS="yes"
RPCGSSDARGS="-k /etc/some.alternate.keytab"
On a new install of Fedora 21 (with nfs-utils-1.3.1-2.0) mounts weren't working even after starting rpc-gssd.service, though manually running rpc.gssd did work. Eventually I found a solution in the rpc-gssd service file:
/usr/lib/systemd/system/rpc-gssd.service
I replaced GSSDARGS with RPCGSSDARGS, which matched the name I'm used to seeing in /etc/sysconfig/nfs.
#ExecStart=/usr/sbin/rpc.gssd $GSSDARGS
ExecStart=/usr/sbin/rpc.gssd $RPCGSSDARGS
I'd tried instead renaming the variable in /etc/sysconfig/nfs, but it had no effect. My question is, what variable name is the correct one, and is it documented anywhere? (I've only been able to find much older documentation from before the renaming of these services with the switch to systemd and all that.)
Thanks in advance!
Reading over your description and comparing it to the F18 documentation shows that something got missed somewhere with the transition to NFSv4. Take a look at this and see if you can adapt your system to the current design.
https://docs.fedoraproject.org/en-US/...
Thanks danofsatx! But, there's still nothing there about the options for /etc/sysconfig/nfs. I'd like to follow the right procedure for that file but it just doesn't seem to be documented anywhere, for either older versions or for 21. (I'm also still on NFSv3, though I don't think it'll matter in this case.)