RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1183821 - GSS_USE_PROXY needs to be set in run/sysconfig/nfs-utils
Summary: GSS_USE_PROXY needs to be set in run/sysconfig/nfs-utils
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: JianHong Yin
URL:
Whiteboard:
Depends On: 1183787
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-19 22:20 UTC by Steve Dickson
Modified: 2015-03-05 13:12 UTC (History)
10 users (show)

Fixed In Version: nfs-utils-1.3.0-0.8.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1183787
Environment:
Last Closed: 2015-03-05 13:12:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0508 0 normal SHIPPED_LIVE nfs-utils bug fix and enhancement update 2015-03-05 16:14:48 UTC

Description Steve Dickson 2015-01-19 22:20:55 UTC
--- Additional comment from Anthony Messina on 2015-01-19 15:48:32 EST ---

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.

--- Additional comment from Steve Dickson on 2015-01-19 16:23:51 EST ---

(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 5 Steve Dickson 2015-01-21 16:16:48 UTC
FYI...

While I was working this I discovered 
    https://bugzilla.redhat.com/show_bug.cgi?id=1184531

Comment 11 JianHong Yin 2015-01-24 09:33:37 UTC
Verified:
  https://beaker.engineering.redhat.com/jobs/859365
  https://beaker.engineering.redhat.com/jobs/859278

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: -client-Test-gssproxy-conf-test-bz1184531
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

[01:05:27 root@ ~~]# echo "GSS_USE_PROXY=\"yes\"" >>/etc/sysconfig/nfs
--------------------------------------------------------------------------------
[01:05:27 root@ ~~]# service_nfsconfig restart
Redirecting to /bin/systemctl restart  nfs-config.service
:: [   PASS   ] :: Running 'service_nfsconfig restart' (Expected 0, got 0)
--------------------------------------------------------------------------------
[01:05:27 root@ ~~]# egrep GSS_USE_PROXY=.?yes /run/sysconfig/nfs-utils
GSS_USE_PROXY="yes"
:: [   PASS   ] :: Running 'egrep GSS_USE_PROXY=.?yes /run/sysconfig/nfs-utils' (Expected 0, got 0)

Comment 13 errata-xmlrpc 2015-03-05 13:12:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0508.html


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