Bug 1596918 - Glusterfs can't set xattr security.selinux
Summary: Glusterfs can't set xattr security.selinux
Keywords:
Status: CLOSED DUPLICATE of bug 1230671
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: 4.1
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-30 06:36 UTC by Rixome
Modified: 2018-07-02 07:37 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-02 07:37:13 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rixome 2018-06-30 06:36:22 UTC
Description of problem:
I'm currently trying to use Gluster as storage for docker volumes on Centos 7.
The gluster version is 4.0.2.

On creation of the volume the files from the container are copied to the new volume. The volume is stored in a gluster mounted directory using the gluster client (no NFS).

Upon copying the first file I get this error: 

    dockerd: time="2018-06-29T16:54:42.0
    5675816+02:00" level=error msg="fatal task error" error="failed to copy xattrs: failed to set xattr \"security.selinux\" on /var/lib/docker/volumes/test_laravelstorage/_data/app/.gitignore: operation not supported" module=node/agent/taskmanager node.id=zfqlnpdchcaa0xl0vs8ck0ec7 dervice.id=e94kmsgqq222ohssk6is866la task.id=k9efjmil9sgmeza507z9r7qy

Selinux is disabled. 


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


How reproducible:

Set xattr security.selinux of file.

Comment 2 Atin Mukherjee 2018-06-30 15:43:25 UTC
As 4.0 is end of life I’m moving this yo mainline for now. Please test this with 4.1 and if you still see it change the version to 4.1.

Comment 3 Rixome 2018-06-30 22:07:45 UTC
I just tried on version 4.1 but I get the same error.

Comment 4 Niels de Vos 2018-07-02 07:37:13 UTC
There is work needed in the Linux kernel, FUSE kernel module and the kernel component of SELinux before this can work. Bug 1230671 tracks the different topics.

*** This bug has been marked as a duplicate of bug 1230671 ***


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