Bug 65576 - rpc.mountd doesn't like IP addresses anymore
Summary: rpc.mountd doesn't like IP addresses anymore
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: nfs-utils   
(Show other bugs)
Version: 7.3
Hardware: i686 Linux
Target Milestone: ---
Assignee: Pete Zaitcev
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2002-05-27 21:03 UTC by Steve Ward
Modified: 2007-04-18 16:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-11-12 04:38:54 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Steve Ward 2002-05-27 21:03:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20020508

Description of problem:
7.2's rpc.mountd allowed the use of IP address ranges in /etc/exports and did
the hostname lookup when the client requested a mount.  7.3's rpc.mountd will
not allow the mount unless the hostname is listed in /etc/exports.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.setup 7.3 system with exported NFS filesystems, use an IP address range (e.g.
192.168.1.*) in the /etc/exports file.
2. attempt to mount the filesystem from a 7.3 client using IP address.  hostname
of client is in /etc/hosts file of server.


Actual Results:  May 27 13:24:04 stevewa rpc.mountd: refused mount request from
pent3 for /home (/): no export entry 

Expected Results:  filesystem should have mounted

Additional info:

Comment 1 Pete Zaitcev 2002-11-12 04:38:47 UTC
This is what the man page for exports says:

       IP networks
              You can also export directories to all hosts  on  an  IP  (sub‐)
              network simultaneously. This is done by specifying an IP address
              and netmask pair as address/netmask where  the  netmask  can  be
              specified  in  dotted‐decimal  format,  or  as a contiguous mask
              length (for example, either / or  /22  appended
              to the network base address result in identical subnetworks with
              10 bits of host). Wildcard characters generally do not  work  on
              IP  addresses, though they may work by accident when reverse DNS
              lookups fail.

Comment 2 Pete Zaitcev 2002-11-12 04:40:12 UTC
If that makes you feel better, I have setup a box to reproduce it before
I turned to RTFM.

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