amazonlinux / amazon-linux-2023

Amazon Linux 2023
https://aws.amazon.com/linux/amazon-linux-2023/
Other
508 stars 38 forks source link

[Bug] - MariaDB stops accepting external connection with selinux set to enforcing. #500

Open daniejstriata opened 9 months ago

daniejstriata commented 9 months ago

Describe the bug I have a MariaDB install on latest AL2023. mariadb105-server-10.5.20-1.amzn2023.0.1.aarch64

When I enable selinux the clients connecting to the server is no longer able to authenticate. To Reproduce Steps to reproduce the behavior:

  1. With selinux disabled I ran: setenforce 1
  2. made connection to db from a remote host which failed.

Expected behavior the selinux policy should be implemented to allow mariadb to function correctly under selinux. /usr/share/mariadb/policy/selinux/mariadb.pp