Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Gluster's Event Deamon is not allowed by SELINUX #27

Description

@hunter86bg

Symptom:

glustereventsd[1312]: Failed to start Eventsd for IPv4: [Errno 13] Permission denied

Event's Daemon Config:

# cat /etc/glusterfs/eventsconfig.json 
{
    "log-level": "INFO",
    "port": 24009,
    "disable-events-log": false
}

AVC Denied:

type=AVC msg=audit(1641684058.017:1042): avc:  denied  { name_bind } for  pid=5949 comm="glustereventsd" src=24009 scontext=system_u:system_r:glusterd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=0
type=AVC msg=audit(1641684806.621:83): avc:  denied  { name_bind } for  pid=1312 comm="glustereventsd" src=24009 scontext=system_u:system_r:glusterd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=0
type=USER_MAC_CONFIG_CHANGE msg=audit(1641741688.121:828): pid=149221 uid=0 auid=0 ses=14 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='resrc=port op=add lport=24009 proto=17 tcontext=system_u:object_r:gluster_port_t:s0 comm="semanage" exe="/usr/libexec/platform-python3.6" hostname=? addr=? terminal=? res=success'�UID="root" AUID="root"

Workaround:

# semanage port -a -t gluster_port_t -p udp 24009

Installed package:

# rpm -q glusterfs-selinux
glusterfs-selinux-2.0.1-1.el8.noarch

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions