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 2203092

Summary: Fix typo in man page nfs.conf.man
Product: Red Hat Enterprise Linux 9 Reporter: Lukas Herbolt <lherbolt>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Yongcheng Yang <yoyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: steved, xzhou
Target Milestone: rcKeywords: EasyFix, Patch, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nfs-utils-2.5.4-19.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:55:53 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 Lukas Herbolt 2023-05-11 08:46:11 UTC
Description of problem:
SMall typo in man page describing the values in nfs.conf

Version-Release number of selected component (if applicable):
RHEL 9.1 but also fedora 36 

How reproducible:
Everytime 

Steps to Reproduce:
1) open man nfs.conf 
2) check the options for mountd and exportd

Actual results:
Wrong value: cache-use-upaddr

Expected results:
Correct value: cache-use-ipaddr

Additional info:

[lherbolt@trufa nfs-utils-2.5.4]Φ diff systemd/nfs.conf.man systemd/nfs.conf.man.fixed
--- systemd/nfs.conf.man	2023-05-11 10:41:53.639699341 +0200
+++ systemd/nfs.conf.man.fixed	2023-05-11 10:42:23.637772191 +0200
@@ -132,7 +132,7 @@
 .B exportd
 Recognized values:
 .BR threads ,
-.BR cache-use-upaddr ,
+.BR cache-use-ipaddr ,
 .BR ttl ,
 .BR state-directory-path
 
@@ -197,7 +197,7 @@
 .BR port ,
 .BR threads ,
 .BR reverse-lookup ,
-.BR cache-use-upaddr ,
+.BR cache-use-ipaddr ,
 .BR ttl ,
 .BR state-directory-path ,
 .BR ha-callout .

Comment 1 Lukas Herbolt 2023-05-11 12:59:46 UTC
One more missing thing is manage-gids

[lherbolt@trufa nfs-utils-2.5.4]Φ diff ./systemd/nfs.conf.man ./systemd/nfs.conf.man.fixed
--- ./systemd/nfs.conf.man	2023-05-11 10:41:53.639699341 +0200
+++ ./systemd/nfs.conf.man.fixed	2023-05-11 14:38:18.108999555 +0200
@@ -131,8 +131,9 @@
 .TP
 .B exportd
 Recognized values:
+.BR manage-gids,
 .BR threads ,
-.BR cache-use-upaddr ,
+.BR cache-use-ipaddr ,
 .BR ttl ,
 .BR state-directory-path
 
@@ -197,7 +198,7 @@
 .BR port ,
 .BR threads ,
 .BR reverse-lookup ,
-.BR cache-use-upaddr ,
+.BR cache-use-ipaddr ,
 .BR ttl ,
 .BR state-directory-path ,
 .BR ha-callout .

Comment 2 Yongcheng Yang 2023-05-11 13:49:41 UTC
(In reply to Lukas Herbolt from comment #0)
> Description of problem:
> SMall typo in man page describing the values in nfs.conf
> 
> Version-Release number of selected component (if applicable):
> RHEL 9.1 but also fedora 36 

Thanks for the report!

The typo also exists in the upstream version and it needs to get fixed there firstly.

Would you like to send the patch to linux-nfs.org and cc steved if possible?

Btw please use this upstream repo to generate the patch:
$ git clone git://git.linux-nfs.org/~steved/nfs-utils.git

Comment 3 Lukas Herbolt 2023-05-11 14:02:17 UTC
(In reply to Yongcheng Yang from comment #2)
> (In reply to Lukas Herbolt from comment #0)
> > Description of problem:
> > SMall typo in man page describing the values in nfs.conf
> > 
> > Version-Release number of selected component (if applicable):
> > RHEL 9.1 but also fedora 36 
> 
> Thanks for the report!
> 
> The typo also exists in the upstream version and it needs to get fixed there
> firstly.
> 
> Would you like to send the patch to linux-nfs.org and cc
> steved if possible?
> 
> Btw please use this upstream repo to generate the patch:
> $ git clone git://git.linux-nfs.org/~steved/nfs-utils.git

Sure will send patch to upstream

Comment 6 Yongcheng Yang 2023-06-07 02:26:27 UTC
Verified in nfs-utils-2.5.4-19.el9

[root@hp-dl385g7-01-vm-03 ~]# rpm -q nfs-utils
nfs-utils-2.5.4-18.el9.x86_64
[root@hp-dl385g7-01-vm-03 ~]# man nfs.conf | grep cache-use-*
              Recognized values: threads, cache-use-upaddr, ttl, state-directory-path
       mountd Recognized values: manage-gids, descriptors, port, threads, reverse-lookup, cache-use-upaddr,  ttl,  state-di‐
[root@hp-dl385g7-01-vm-03 ~]# 
[root@hp-dl385g7-01-vm-03 ~]# 
[root@hp-dl385g7-01-vm-03 ~]# rpm -Uvh nfs-utils-2.5.4-19.el9.x86_64.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:nfs-utils-1:2.5.4-19.el9         ################################# [ 50%]
Cleaning up / removing...
   2:nfs-utils-1:2.5.4-18.el9         ################################# [100%]
[root@hp-dl385g7-01-vm-03 ~]# man nfs.conf | grep cache-use-*
              Recognized values: manage-gids, threads, cache-use-ipaddr, ttl, state-directory-path
       mountd Recognized values: manage-gids, descriptors, port, threads, reverse-lookup, cache-use-ipaddr,  ttl,  state-di‐
[root@hp-dl385g7-01-vm-03 ~]# rpm -q nfs-utils
nfs-utils-2.5.4-19.el9.x86_64
[root@hp-dl385g7-01-vm-03 ~]#

Comment 13 errata-xmlrpc 2023-11-07 08:55:53 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-2023:6692