Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1908232

Summary: [doc] rpc.gssd man page correct rpc-timeout and context-timeout
Product: Red Hat Enterprise Linux 8 Reporter: Yongcheng Yang <yoyang>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Yongcheng Yang <yoyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: steved, xzhou
Target Milestone: rcKeywords: EasyFix, Patch, Triaged
Target Release: 8.4Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nfs-utils-2.3.3-42.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 19:40:03 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 Yongcheng Yang 2020-12-16 07:20:13 UTC
Description of problem:
As Roberto mentions in https://bugzilla.redhat.com/show_bug.cgi?id=1906792#c8 that we need this correction:
commit 017088d2c2e214c37e37784a6be9deda16462c1d (tag: nfs-utils-2-4-4-rc7)
Author: Robert Milkowski <rmilkowski>
Date:   Wed Jun 10 14:28:05 2020 -0400

    man: Correct rpc.gssd(8) description of rpc-timeout and context-timeout
    
    The rpc-timeout is equivalent to -T and context-timeout to -t options,
    not vice versa.
    

Version-Release number of selected component (if applicable):
nfs-utils-2.3.3-40.el8

How reproducible:
easy

Steps to Reproduce:
1.
2.
3.

Actual results:
[root@dell-per430-17 ~]# rpm -q nfs-utils
nfs-utils-2.3.3-40.el8.x86_64
[root@dell-per430-17 ~]# man gssd | grep -A1 "\-timeout"
       context-timeout
              Equivalent to -T.   <<<<
--
       rpc-timeout
              Equivalent to -t.   <<<<

# But internally we didn't use it incorrectly :-)
[root@dell-per430-17 ~]# grep timeout /usr/sbin/nfsconvert
             '-t': (CONF_NFS, 'gssd', 'context-timeout', '$1'),
             '-T': (CONF_NFS, 'gssd', 'rpc-timeout', '$1'),
[root@dell-per430-17 ~]# 


Expected results:


Additional info:

Comment 11 Yongcheng Yang 2021-05-11 04:36:34 UTC
Fix applies now:

[root@rhel-8-4-latest ~]# rpm -q nfs-utils
nfs-utils-2.3.3-42.el8.x86_64
[root@rhel-8-4-latest ~]# man gssd | grep -A1 "timeout"
       rpc.gssd [-DfMnlvrH] [-k keytab] [-p pipefsdir] [-d ccachedir] [-t timeout] [-R realm]

--
       -t timeout
              Timeout, in seconds, for kernel GSS contexts. This option allows you to force new kernel contexts to be negotiated after timeout
              seconds,  which allows changing Kerberos tickets and identities frequently.  The default is no explicit timeout, which means the
              kernel context will live the lifetime of the Kerberos service ticket used in its creation.
--
       -T timeout
              Timeout, in seconds, to create an RPC connection with a server while establishing an authenticated gss context for a user.   The
              default  timeout  is  set to 5 seconds.  If you get messages like "WARNING: can't create tcp rpc_clnt to server %servername% for
              user with uid %uid%: RPC: Remote system error - Connection timed out", you should consider an increase of this timeout.

--
       context-timeout
              Equivalent to -t.
--
       rpc-timeout
              Equivalent to -T.
[root@rhel-8-4-latest ~]#

Comment 13 errata-xmlrpc 2021-11-09 19:40:03 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 (nfs-utils bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2021:4403