fixes #2789 - selinux denials, httpd_tmp_t, rlimits, postgresql sockets

(cherry picked from commit 36c7bfaa763fd403c78f2419d51198473e3ce2f6)