1
0
mirror of https://github.com/gluster/glusterfs.git synced 2026-02-06 18:48:16 +01:00

Glustereventsd Default port change (#2091)

Issue : The default port of glustereventsd is currently 24009
which is preventing glustereventsd from binding to the UDP port
due to selinux policies.

Fix: Changing the default port to be bound by chanding it to something
in the ephemeral range.

Fixes: #2080
Change-Id: Ibdc87f83f82f69660dca95d6d14b226e10d8bd33
Signed-off-by: srijan-sivakumar <ssivakum@redhat.com>
This commit is contained in:
schaffung
2021-02-10 13:43:48 +05:30
committed by GitHub
parent 6fcff3901d
commit 2572f096b2
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"log-level": "INFO",
"port": 24009,
"port": 55555,
"disable-events-log": false
}

View File

@@ -4,7 +4,7 @@
<description>Default ports for gluster-distributed storage</description>
<port protocol="tcp" port="24007"/> <!--For glusterd -->
<port protocol="tcp" port="24008"/> <!--For glusterd RDMA port management -->
<port protocol="tcp" port="24009"/> <!--For glustereventsd -->
<port protocol="tcp" port="55555"/> <!--For glustereventsd -->
<port protocol="tcp" port="38465"/> <!--Gluster NFS service -->
<port protocol="tcp" port="38466"/> <!--Gluster NFS service -->
<port protocol="tcp" port="38467"/> <!--Gluster NFS service -->

View File

@@ -26,7 +26,7 @@
#include "glusterfs/events.h"
#define EVENT_HOST "127.0.0.1"
#define EVENT_PORT 24009
#define EVENT_PORT 55555
int
_gf_event(eventtypes_t event, const char *fmt, ...)