RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1693245 - SELinux: mariadb-server-galera
Summary: SELinux: mariadb-server-galera
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: mariadb
Version: 8.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.0
Assignee: Michal Schorm
QA Contact: Anna Khaitovich
Depends On:
Blocks: 1732381
TreeView+ depends on / blocked
Reported: 2019-03-27 11:33 UTC by Michal Schorm
Modified: 2020-11-14 06:48 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Missing SELinux rule(s) Consequence: MariaDB cluster couldn't be set up without manually adding appropriate SELinux rules to all nodes machines. Fix: Added / Fixed SELinux rules in selinux-policy package Result: SELinux will not block standard setup of MariaDB cluster
Clone Of:
: 1732381 (view as bug list)
Last Closed: 2020-03-04 10:04:40 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3708 0 None None None 2019-11-05 22:42:42 UTC

Description Michal Schorm 2019-03-27 11:33:44 UTC
You can use instructions from here:

to setup the cluster.

If you enable SELinux on any of the cluster nodes, it will make problems.

Comment 2 Karel Volný 2019-04-02 13:12:11 UTC
FTR, trying to run the automated test, I got this:

SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      31
time->Tue Apr  2 05:45:51 2019
type=PROCTITLE msg=audit(1554198351.207:515): proctitle="ifconfig"
type=SYSCALL msg=audit(1554198351.207:515): arch=c00000b7 syscall=48 success=no exit=-13 a0=ffffffffffffff9c a1=aaaaba88e2a0 a2=4 a3=2 items=0 ppid=23534 pid=23580 auid=4294967295 uid=27 gid=27 euid=27 suid=27 fsuid=27 egid=27 sgid=27 fsgid=27 tty=(none) ses=4294967295 comm="ifconfig" exe="/usr/sbin/ifconfig" subj=system_u:system_r:mysqld_t:s0 key=(null)
type=AVC msg=audit(1554198351.207:515): avc:  denied  { search } for  pid=23580 comm="ifconfig" name="net" dev="proc" ino=3284 scontext=system_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir permissive=0

Note You need to log in before you can comment on or make changes to this bug.