Bug 1164227

Summary: nfs mount via symlinks cross the volume and comes back again to same will fail
Product: [Community] GlusterFS Reporter: Jiffin <jthottan>
Component: nfsAssignee: Jiffin <jthottan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, ndevos, sankarshan, skoduri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-20 06:23: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:
Bug Depends On: 1165093    
Bug Blocks:    

Description Jiffin 2014-11-14 11:44:34 UTC
Description of problem:

NFS mount via symlinks crosses the volume(boundary of file system) and comes back again to same will fail where as in kernel nfs it works fine. 

For example,
Consider a volume test which contains,
1.)a directory dir
2.)symlink1 points to ../vol/dir
3.)symlink2 points to ../xyz/../vol/dir 

Mount fails for symlink1 and symlink2

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

How reproducible:
always


Actual results:
Mount fails retuning access denied.

Expected results:
Mount should happen

Additional info:
Kernel nfs is resolving mount path correctly