Bug 1183787

Summary: nfs-utils-1.3.1-5.0.fc21EnvironmentFile=/run/sysconfig/nfs-utils doesn't take into account GSS_USE_PROXY=yes from /etc/sysconfig/nfsutils
Product: [Fedora] Fedora Reporter: Anthony Messina <amessina>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: bfields, jlayton, steved
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nfs-utils-1.3.1-6.0.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1183821 (view as bug list) Environment:
Last Closed: 2015-01-28 19:57:35 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:
Bug Depends On:    
Bug Blocks: 1183821    

Description Anthony Messina 2015-01-19 20:11:03 UTC
The above nfs-utils version from updates-testing (being pushed to stable) doesn't honor GSS_USE_PROXY due to the script that's used to evaluate the variables.

https://admin.fedoraproject.org/updates/FEDORA-2015-0749/nfs-utils-1.3.1-5.0.fc21

Comment 1 Steve Dickson 2015-01-19 20:30:03 UTC
GSS_USE_PROXY is used by the gssproxy plugins so it just needs to
be set in the enviroment so things like getenv("GSS_USE_PROXY")
and find it...

Comment 2 Anthony Messina 2015-01-19 20:48:32 UTC
Correct, and it can be used by rpc.gssd (/usr/lib/systemd/system/rpc-gssd.service), so if it isn't in place in the EnvironmentFile=-/run/sysconfig/nfs-utils, then gss-proxy isn't used.

The /usr/lib/systemd/scripts/nfs-utils_env.sh script doesn't convert/copy GSS_USE_PROXY from /etc/sysconfig/nfs to /run/sysconfig/nfs-utils.

I can confirm that when I edit /usr/lib/systemd/scripts/nfs-utils_env.sh and add GSS_USE_PROXY=yes to be included in /run/sysconfig/nfs-utils, gss-proxy works properly for clients.

Comment 3 Steve Dickson 2015-01-19 21:23:51 UTC
(In reply to Anthony Messina from comment #2)
> Correct, and it can be used by rpc.gssd
> (/usr/lib/systemd/system/rpc-gssd.service), so if it isn't in place in the
> EnvironmentFile=-/run/sysconfig/nfs-utils, then gss-proxy isn't used.
> 
> The /usr/lib/systemd/scripts/nfs-utils_env.sh script doesn't convert/copy
> GSS_USE_PROXY from /etc/sysconfig/nfs to /run/sysconfig/nfs-utils.
> 
> I can confirm that when I edit /usr/lib/systemd/scripts/nfs-utils_env.sh and
> add GSS_USE_PROXY=yes to be included in /run/sysconfig/nfs-utils, gss-proxy
> works properly for clients.

Ok I see your point... I mistakenly thought rpc-gssd.service was sourcing 
/etc/sysconfig/nfs but you are correct it now sources /run/sysconfig/nfs-utils

Comment 4 Fedora Update System 2015-01-19 22:46:15 UTC
nfs-utils-1.3.1-6.0.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/nfs-utils-1.3.1-6.0.fc21

Comment 5 Fedora Update System 2015-01-20 21:01:36 UTC
Package nfs-utils-1.3.1-6.0.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nfs-utils-1.3.1-6.0.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0907/nfs-utils-1.3.1-6.0.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-01-28 19:57:35 UTC
nfs-utils-1.3.1-6.0.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.