Bug 1174642 - nfs-utils fails to copy some settings from /etc/sysconfig/nfs to /run/sysconfig/nfs-utils
Summary: nfs-utils fails to copy some settings from /etc/sysconfig/nfs to /run/sysconf...
Keywords:
Status: CLOSED DUPLICATE of bug 1170354
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-16 08:46 UTC by rob.verduijn
Modified: 2014-12-16 15:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-16 15:07:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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