Bug 136779

Summary: Misleading NFS mount denied error message
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-31 16:13:04 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Warren Togami 2004-10-22 07:05:46 EDT
Description of problem:
When you an attempt is made to mount a directory via NFS to a path not
permitted from the client address, the error message in
/var/log/messages is misleading and confusing.

Oct 22 00:58:30 wombat rpc.mountd: bad path in mount request from
172.31.16.236: "/home/warren"

Contrast this with the informative error message when a mount path is
not listed in /etc/exports.

Oct 22 01:03:31 wombat rpc.mountd: refused mount request from
ibmlaptop.lan for /home/builder (/): not exported

The former error message should something like say:

Oct 22 00:58:30 wombat rpc.mountd: refused mount request from
172.31.16.236: for "/home/warren": host not allowed

Version-Release number of selected component (if applicable):
nfs-utils-1.0.6-39
Comment 1 Steve Dickson 2005-10-31 16:13:04 EST
This is fixed in later version of nfs-utils