Problems with Dovecot to mysql socket with SELinux
Anyone here running Dovecot connecting to mysql through the mysql.sock with SELinux enabled?
I am getting access errors that go away when I put SELinux in permissive mode. I cannot find any direct help on this. Most howtos say to disable SELinux; they just don't want to bother, and in part I can see that.
I have tried making a policy with allow2access and I get really bad SELinux errors with that.
So I am looking to see if anyone else is running this combination?
thanks
I ran in to other issues with SELinux not being able to get to the TLS certs.
Got the same advice and shut off SELinux.
I’d say use MariaDB over mySQL.
On Apr 26, 2017, at 1:37 AM, Robert Moskowitz <rgm@htt-consult.com> wrote:
Anyone here running Dovecot connecting to mysql through the mysql.sock with SELinux enabled?
I am getting access errors that go away when I put SELinux in permissive mode. I cannot find any direct help on this. Most howtos say to disable SELinux; they just don't want to bother, and in part I can see that.
I have tried making a policy with allow2access and I get really bad SELinux errors with that.
So I am looking to see if anyone else is running this combination?
thanks
participants (2)
-
Michael Segel
-
Robert Moskowitz