Hide Forgot
Description of problem: samba fails to connect to glusterd.socket when selinux is set to enforcing. type=AVC msg=audit(1476974134.111:87217): avc: denied { write } for pid=31486 comm="smbd" name="glusterd.socket" dev="tmpfs" ino=11876158 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:object_r:glusterd_var_run_t:s0 tclass=sock_file Version-Release number of selected component (if applicable): samba-client-4.4.6-2.el7rhgs.x86_64 glusterfs-client-xlators-3.8.4-2.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1.Create a 4 node gluster cluster with ctdb 2.Enable volfile setup in smb.conf with unix+ socket (unix+/var/run/glusterd.socket tcp+<valid hostname>) 3.reload the smb config file (smbcontrol smbd reload-config) 4.kill glusterd in one of the server node 5.mount in windows using "net use" provide the ip of the server where glusterd is stopped Actual results: samba fails to connect to glusterd socket Expected results: Additional info:
We need to refer to the RHEL bug which will add the selinux rule.
Closing - we have not touched it for years, but we believe it is fixed. If it reproduces - please reopen.