Performing an rsync preserving extended attributes to a gluster volume may return errors that lsetxattr failed for "security.selinux" Operation not supported (95)
Issue
- When rsync is performed copying to a glusterfs destination and rsync includes options for preserving extended attributes, rsync may return errors such as:
rsync: rsync_xal_set: lsetxattr(""/data/test"","security.selinux") failed: Operation not supported (95)
-
The SELinux context for the gluster volumes shows: ‘system_u:object_r:fusefs_t:s0’
-
The rsync operation completes apart from the error messages
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- GlusterFS 3.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.