SElinux blocks PostgreSQL startup

Solution Unverified - Updated -


  • With selinux enforcing, I can't start postgresql. Turning selinux off (setenforce 0), I can start it.
  • Postfix won't start up anymore when bound to localhost. Postfix complains with "fatal: config variable inet_interfaces: host not found: localhost" for example in the log, if you have "inet_interfaces = localhost".
  • After patching my server, /etc/nsswitch.conf is mislabeled:
[root@host ~]# ls -Z /etc/nsswitch.conf 
-rw-r--r--  root root user_u:object_r:rpm_script_tmp_t /etc/nsswitch.conf


  • Red Hat Enterprise Linux 5
  • sudo-1.7.2p1-12.el5
  • sudo-1.7.2p1-13.el5
  • sudo-1.7.2p1-14.el5_8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In