Bug 1238156

Summary: FSAL_GLUSTER : all operations on deadlink will fail when acl is enabled
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Jiffin <jthottan>
Component: nfs-ganeshaAssignee: Jiffin <jthottan>
Status: CLOSED ERRATA QA Contact: Saurabh <saujain>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.1CC: akhakhar, annair, asrivast, kkeithle, mmadhusu, mzywusko, ndevos, nlevinki, skoduri, vagarwal
Target Milestone: ---   
Target Release: RHGS 3.1.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: nfs-ganesha-2.2.0-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1238155 Environment:
Last Closed: 2015-07-29 05:09:02 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: 1238155    
Bug Blocks: 1202842    

Description Jiffin 2015-07-01 10:03:45 UTC
+++ This bug was initially created as a clone of Bug #1238155 +++

Description of problem:


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

How reproducible:
always

Steps to Reproduce:
1).create a volume

2).export the volume using nfs-ganesha with acl enabled 

3.)mount the volume using vers=4 mount

4.)create symlink for a file/folder. Delete the target folder.


Actual results:
All the operation like ls,rm will further fail on the deadlinks.  

Expected results:
All operation should success.

Additional info:
Root cause is same as BZ1209735

Comment 4 Jiffin 2015-07-02 08:31:57 UTC
This is fixed in ganesha upstream https://review.gerrithub.io/#/c/237727/

Comment 6 Saurabh 2015-07-14 10:54:12 UTC
[root@rhsauto009 ~]# rmdir /export/mnt1/vol4/acl_user1_dir8
[root@rhsauto009 ~]# ls -l /export/mnt1/vol4/acl_user1_dir8_symlink 
lrwxrwxrwx. 1 root root 32 Jul 14  2015 /export/mnt1/vol4/acl_user1_dir8_symlink -> /export/mnt1/vol4/acl_user1_dir8
[root@rhsauto009 ~]# rm /export/mnt1/vol4/acl_user1_dir8_symlink 
rm: remove symbolic link `/export/mnt1/vol4/acl_user1_dir8_symlink'? y


based on the above result moving this BZ to verified.

Comment 7 errata-xmlrpc 2015-07-29 05:09:02 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, 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://rhn.redhat.com/errata/RHSA-2015-1495.html