[Bugs] [Bug 1162125] glusterd can't create /var/run/glusterd.socket when SELinux is in enforcing mode

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 2 17:03:02 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1162125



--- Comment #7 from Milos Malik <mmalik at redhat.com> ---
# rpm -qa selinux-policy\*
selinux-policy-sandbox-3.13.1-13.el7.noarch
selinux-policy-3.13.1-13.el7.noarch
selinux-policy-mls-3.13.1-13.el7.noarch
selinux-policy-targeted-3.13.1-13.el7.noarch
selinux-policy-devel-3.13.1-13.el7.noarch
selinux-policy-doc-3.13.1-13.el7.noarch
selinux-policy-minimum-3.13.1-13.el7.noarch
# rpm -qa gluster\*
glusterfs-api-3.6.0.32-1.el7rhs.x86_64
glusterfs-cli-3.6.0.32-1.el7rhs.x86_64
glusterfs-3.6.0.32-1.el7rhs.x86_64
glusterfs-libs-3.6.0.32-1.el7rhs.x86_64
glusterfs-fuse-3.6.0.32-1.el7rhs.x86_64
glusterfs-server-3.6.0.32-1.el7rhs.x86_64
#

Each time I delete the /var/run/gluster directory, the gluster server creates
the directory again. Unfortunately, manual run of restorecon changes the label
on that directory:

# restorecon -Rv /var/run/gluster
restorecon reset /run/gluster context
system_u:object_r:glusterd_var_run_t:s0->system_u:object_r:var_run_t:s0
restorecon reset /run/gluster/snaps context
system_u:object_r:glusterd_var_run_t:s0->system_u:object_r:var_run_t:s0
#

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Szk3tkSnwt&a=cc_unsubscribe


More information about the Bugs mailing list