public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeremy Cline <jeremy@jcline.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ejabberd] f45: Add SELinux rules for PostgreSQL and MySQL connections
Date: Wed, 23 Sep 2026 19:07:43 GMT	[thread overview]
Message-ID: <179019046331.1.11544335953745714331.rpms-ejabberd-92d410105b07@fedoraproject.org> (raw)

            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)
 

                 reply	other threads:[~2026-09-23 19:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179019046331.1.11544335953745714331.rpms-ejabberd-92d410105b07@fedoraproject.org \
    --to=jeremy@jcline.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox