Bug 1174642

Summary: nfs-utils fails to copy some settings from /etc/sysconfig/nfs to /run/sysconfig/nfs-utils
Product: [Fedora] Fedora Reporter: rob.verduijn
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: bfields, jlayton, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-16 15:07:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description rob.verduijn 2014-12-16 08:46:42 UTC
Description of problem:

The script /usr/lib/systemd/scripts/nfs-utils_env.sh is missing some lines.

It does not copy the following settings from the /etc/sysconfig/nfs configuration file :
RPCRQUOTADOPTS
RPCNFSDCOUNT
GSS_USE_PROXY

The first two lines would be usefull if you would like to tweak settings for nfs.
The third causes the gssproxy daemon not to be used for nfs thus making all the applications unable to mount kerberized nfs mounts through gssproxy.

The following lines should be added to the script between line 32 and 33:
echo RPCRQUOTADOPTS="$RPCRQUOTADOPTS"
echo RPCNFSDCOUNT="$RPCNFSDCOUNT"
echo GSS_USE_PROXY="$GSS_USE_PROXY"

Version-Release number of selected component (if applicable):

How reproducible:
- n/a

Steps to Reproduce:
- n/a
Actual results:
/run/sysconfig/nfs-utils has only 7 entries, thus missing 3
gssproxy cannot be enabled for use with nfs
Expected results:
/run/sysconfig/nfs-utils should have all 10 entries from /etc/sysconfig/nfs
gssproxy can be enabled for use with nfs
Additional info:
looks a bit like bug 1170354, but that one is about typos not missing settings

Comment 2 rob.verduijn 2014-12-16 12:58:56 UTC
I see it will copy the  GSS_USE_PROXY option to /run/sysconfig/nfs-utils

The options RPCRQUOTADOPTS and RPCNFSDCOUNT are both still ignored.
Is that on purpose ?
Also the following options will also be ignored if they are used in /etc/sysconfig/nfs LOCKDARG, LOCKD_TCPPORT, LOCKD_UDPPORT

Rob

Comment 3 rob.verduijn 2014-12-16 13:00:37 UTC
Forgot these options for the will be ignored list:
NFSD_V4_GRACE and NFSD_V4_LEASE

Rob

Comment 4 rob.verduijn 2014-12-16 13:01:11 UTC
Forgot these options for the will be ignored list:
NFSD_V4_GRACE and NFSD_V4_LEASE

Rob

Comment 5 Steve Dickson 2014-12-16 14:22:54 UTC
(In reply to rob.verduijn from comment #4)
> Forgot these options for the will be ignored list:
> NFSD_V4_GRACE and NFSD_V4_LEASE
> 

Please see Comment 1

Comment 6 rob.verduijn 2014-12-16 14:49:45 UTC
ah right, never mind.

Rob

Comment 7 Steve Dickson 2014-12-16 15:07:02 UTC

*** This bug has been marked as a duplicate of bug 1170354 ***