[Gluster-users] CentOS 6.4 + selinux enforcing + mount.glusterfs == bad?

2013-03-12 Thread Alan Orth
All, I've updated one of my GlusterFS clients from CentOS 6.3 to CentOS 6.4 and now my gluster volumes fail to mount at boot. dmesg shows: type=1400 audit(1363004014.209:4): avc: denied { execute } for pid=1150 comm=mount.glusterfs name=glusterfsd dev=sda1 ino=1315297

Re: [Gluster-users] CentOS 6.4 + selinux enforcing + mount.glusterfs == bad?

2013-03-12 Thread Alan Orth
All, I just learned how to create a new module to allow this request. In a nutshell, use audit2allow to check the audit log and create a new module, see [1] and [2]. My exact steps: mkdir ~/selinux_gluster cd ~/selinux_gluster setenforce 0 load_policy service netfs start

Re: [Gluster-users] CentOS 6.4 + selinux enforcing + mount.glusterfs == bad?

2013-03-12 Thread Rejy M Cyriac
On 03/12/2013 02:57 PM, Alan Orth wrote: All, I just learned how to create a new module to allow this request. In a nutshell, use audit2allow to check the audit log and create a new module, see [1] and [2]. My exact steps: mkdir ~/selinux_gluster cd ~/selinux_gluster