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 691309

Summary: rpc.mountd / rpc.nfsd returns incomplete NFS share list
Product: Red Hat Enterprise Linux 6 Reporter: Bernd Broermann <bernd>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED NOTABUG QA Contact: yanfu,wang <yanwang>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: jwest
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-17 14:12:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bernd Broermann 2011-03-28 07:20:17 UTC
Description of problem:

when exporting  the same directory to multiple hosts,
rpc.mountd / rpc.nfsd returns incomplete list 
when lockup with 

          showmount -e 



Version-Release number of selected component (if applicable):
RedHat6.0 x86_64
nfs-utils-1.2.2-7.el6.x86_64

How reproducible:

server# exportfs -i host1:/tmp
server# exportfs -i host2:/tmp

server# exportfs -v shows both entries

host1# showmount -e server
and 
host2# showmount -e server

only show the first entry from every host.

- From both hosts the share is mountable.
- autofs for NFS will fail,because it uses showmount. 

  

Steps to Reproduce:
1. Install RedHat 6.0 Kernel 2.6.32-71.el6.x86_6
2. yum install nfs-utils
3. exportfs -i 192.168.122.72:/tmp
   exportfs -i 192.168.122.1:/tmp

4. showmount -e

Actual results:
Export list for localhost:
/tmp 192.168.122.72

Expected results:
Export list for localhost:
/tmp 192.168.122.72
/tmp 192.168.122.1


Additional info:
Autofs will not work properly for NFS-Mounts.

Comment 2 Steve Dickson 2011-03-29 19:36:05 UTC
This seems to work with nfs-utils-1.2.3-5.el6:

# exportfs -i 192.168.122.72:/tmp
# exportfs -i -i 192.168.122.1:/tmp
# exportfs
/tmp          	192.168.122.1
/tmp          	192.168.122.72

Comment 3 RHEL Program Management 2011-04-04 01:57:18 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.