From 2707de478a7906d57e4640ecf6cee9b500fc73cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacobo=20Aragunde=20P=C3=A9rez?= Date: Wed, 21 Dec 2022 10:02:59 +0100 Subject: [PATCH] Docs/admin: add comment on SELinux. --- docs/admin/common-problems.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/admin/common-problems.rst b/docs/admin/common-problems.rst index 1535eb8ee..19b297f15 100644 --- a/docs/admin/common-problems.rst +++ b/docs/admin/common-problems.rst @@ -17,6 +17,11 @@ You will probably need to add the following lines:: # IPv6 local connections: host all all ::1/128 md5 +If your system uses SELinux (Fedora does), you also need to allow network +connections from Apache to the database with:: + + setsebool -P httpd_can_network_connect_db 1 + I can't start PostgreSQL server service in Fedora -------------------------------------------------