public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ejabberd] f45: Add SELinux rules for PostgreSQL and MySQL connections
@ 2026-09-23 19:07 Jeremy Cline
  0 siblings, 0 replies; only message in thread
From: Jeremy Cline @ 2026-09-23 19:07 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/ejabberd
            Branch : f45
            Commit : 92d410105b0781cc577a8c85b5fc5db371fbd4aa
            Author : Jeremy Cline <jeremy@jcline.org>
            Date   : 2018-03-31T20:26:09-04:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ejabberd/c/92d410105b0781cc577a8c85b5fc5db371fbd4aa?branch=f45

            Log:
            Add SELinux rules for PostgreSQL and MySQL connections

It's possible to use SQL databases like PostgreSQL and MySQL instead of
Mnesia for storage in ejabberd. This adds SELinux rules to connect to
those databases.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>

---
diff --git a/ejabberd.te b/ejabberd.te
index fe70d58..56373ea 100644
--- a/ejabberd.te
+++ b/ejabberd.te
@@ -40,6 +40,10 @@ corenet_tcp_bind_prosody_port(ejabberd_t)
 corenet_tcp_connect_epmd_port(ejabberd_t)
 corenet_tcp_connect_generic_port(ejabberd_t)
 corenet_tcp_connect_jabber_interserver_port(ejabberd_t)
+corenet_tcp_connect_postgresql_port(ejabberd_t)
+postgresql_stream_connect(ejabberd_t)
+corenet_tcp_connect_mysqld_port(ejabberd_t)
+mysql_stream_connect(ejabberd_t)
 
 corenet_udp_bind_generic_node(ejabberd_t)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-23 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 19:07 [rpms/ejabberd] f45: Add SELinux rules for PostgreSQL and MySQL connections Jeremy Cline

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox