SELinux is preventing "wsrep_sst_rsync" from executing "hostname" command
Issue
-
On systems executing MariaDB or MySQL Server in clustered environment, the following AVC is seen
type=AVC msg=audit(...): avc: denied { getattr } for pid=XXX comm="wsrep_sst_rsync" path="/usr/bin/hostname" dev="dm-0" ino=... scontext=system_u:system_r:mysqld_t:s0
Environment
- Red Hat Enterprise Linux 8 and 9.0
- MariaDB
- MySQL Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.