Skip to content

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

Open
@danie-dejager

Description

@danie-dejager

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions