Bug 1721357 - DHT: Internal xattrs visible on the mount
Summary: DHT: Internal xattrs visible on the mount
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: rhgs-3.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: RHGS 3.5.0
Assignee: Nithya Balachandran
QA Contact: Sayalee
URL:
Whiteboard:
Depends On:
Blocks: 1696809
TreeView+ depends on / blocked
 
Reported: 2019-06-18 05:09 UTC by Nithya Balachandran
Modified: 2019-10-30 12:22 UTC (History)
5 users (show)

Fixed In Version: glusterfs-6.0-7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-30 12:21:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:3249 0 None None None 2019-10-30 12:22:31 UTC

Description Nithya Balachandran 2019-06-18 05:09:54 UTC
Description of problem:

The new pass-thru feature which is enabled by default in 3.5.0 causes internal dht xattrs to be visible on the mount point.


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


How reproducible:

Consistently 
Steps to Reproduce:
1. Install 3.4.4 and create a 1x3 volume 
2. Fuse mount the volume and create some directories (dir-1 to dir-10)  and files on the volume
3. Upgrade the node to 3.5.0 and fuse mount the volume
4. Run getfattr -e hex -m . -d /mnt/fuse/dir*



Actual results:
# file: dir-10
security.selinux=0x73797374656d5f753a6f626a6563745f723a6675736566735f743a733000
trusted.glusterfs.dht.mds=0x00000000
user.dirtest=0x64697274657374

# file: dir-2
security.selinux=0x73797374656d5f753a6f626a6563745f723a6675736566735f743a733000
trusted.glusterfs.dht.mds=0x00000000
user.dirtest=0x64697274657374

# file: dir-3
security.selinux=0x73797374656d5f753a6f626a6563745f723a6675736566735f743a733000
trusted.glusterfs.dht.mds=0x00000000
user.dirtest=0x64697274657374

...


Expected results:

trusted.glusterfs.dht.mds is an internal xattr and should not be visible on the mount point.

Additional info:

This was introduced by the pass-thru feature.

Comment 10 errata-xmlrpc 2019-10-30 12:21:54 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://access.redhat.com/errata/RHEA-2019:3249


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