Bug 1038464 - [sysconfig/nfs]rhel7 Inconsistent variable naming style in /etc/sysconfig/nfs
Summary: [sysconfig/nfs]rhel7 Inconsistent variable naming style in /etc/sysconfig/nfs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils
Version: 7.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: JianHong Yin
URL:
Whiteboard:
Depends On: 1038463
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 07:29 UTC by JianHong Yin
Modified: 2013-12-05 14:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1038463
Environment:
Last Closed: 2013-12-05 14:58:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description JianHong Yin 2013-12-05 07:29:13 UTC
+++ 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:

Comment 2 Steve Dickson 2013-12-05 14:58:33 UTC
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


Note You need to log in before you can comment on or make changes to this bug.