On Wed, Jun 29, 2016 at 01:32:24PM -0400, Ted Miller wrote: > What is the status of selinux tagging on Centos 7? I have read enough to > know that this is a chain-like process requiring changes in the client, the > server, FUSE, and the kernel to make it all work. What is the current > status of this process on Centos 7? > > My use-case: I need to allow Apache to access files that are stored on > gluster and mounted using FUSE. What are my options (besides shutting down > selinux for the Apache process)? It is not possible yet to change the SELinux labels over FUSE. There are some changes needed in Gluster to really support that, in the FUSE kernel module and also in the SELinux part of the kernel. Possibly even some selinux-policy changes... Until then, you should be able to mount a Gluster volume with the "context" option. This might work for you: # mount -t glusterfs \ -o context="unconfined_u:object_r:httpd_sys_content_t:s0" \ storage.example.com:/website /var/www/html Or, you can allow Apache to access FUSE filesystems with a boolean: # sebool httpd_use_fusefs on The main bug that we use for tracking progress on different fronts is currently https://bugzilla.redhat.com/show_bug.cgi?id=1318100 . Maybe some parts of this can be made available in GlusterfS 3.9 (September), but it is likely that additional components (like kernel) need more time. HTH, Niels
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users