Bug 1183787 - 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
Summary: nfs-utils-1.3.1-5.0.fc21EnvironmentFile=/run/sysconfig/nfs-utils doesn't take...
Keywords:
Status: CLOSED ERRATA
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: 1183821
TreeView+ depends on / blocked
 
Reported: 2015-01-19 20:11 UTC by Anthony Messina
Modified: 2015-01-28 19:57 UTC (History)
3 users (show)

Fixed In Version: nfs-utils-1.3.1-6.0.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1183821 (view as bug list)
Environment:
Last Closed: 2015-01-28 19:57:35 UTC
Type: Bug


Attachments (Terms of Use)

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.


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