Hide Forgot
+++ This bug was initially created as a clone of Bug #1038463 +++ Description of problem: Inconsistent variable naming style in /etc/sysconfig/nfs a user echo "RPCMOUNTDARGS=\"-f /etc/exports.new\"" >>/etc/sysconfig/nfs and restart nfs, but the config not become effective... so we find the problem: [root@dhcp12-144 ~]# grep ARGS /etc/sysconfig/nfs RPCNFSDARGS="" RPCIDMAPDARGS="" RPCGSSDARGS="" RPCSVCGSSDARGS="" BLKMAPDARGS="" #RPCNFSDARGS="--no-tcp" [root@dhcp12-144 ~]# grep OPTS /etc/sysconfig/nfs RPCRQUOTADOPTS="" RPCMOUNTDOPTS="-f /etc/exports" Version-Release number of selected component (if applicable): all version from RHEL5 6 7 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: [root@dhcp12-144 ~]# grep ARGS /etc/sysconfig/nfs RPCNFSDARGS="" RPCIDMAPDARGS="" RPCGSSDARGS="" RPCSVCGSSDARGS="" BLKMAPDARGS="" #RPCNFSDARGS="--no-tcp" [root@dhcp12-144 ~]# grep OPTS /etc/sysconfig/nfs RPCRQUOTADOPTS="" RPCMOUNTDOPTS="-f /etc/exports" Expected results: [root@dhcp12-144 ~]# grep ARGS /etc/sysconfig/nfs RPCNFSDARGS="" RPCIDMAPDARGS="" RPCGSSDARGS="" RPCSVCGSSDARGS="" BLKMAPDARGS="" #RPCNFSDARGS="--no-tcp" # and follow two RPCRQUOTADARGS="" RPCMOUNTDARGS="-f /etc/exports" # delete RPCRQUOTADOPTS RPCMOUNTDOPTS, but RPCRQUOTADOPTS RPCMOUNTDOPTS still available for backport compatible; Additional info:
It is true there is an inconstancy in the name convention, unfortunately the current name is an established API. So making changes at this point would break that API and make it harder for people to move from RHEL6 to RHEL7