SElinux blocks PostgreSQL startup
Issue
- 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.confis mislabeled:
[root@host ~]# ls -Z /etc/nsswitch.conf
-rw-r--r-- root root user_u:object_r:rpm_script_tmp_t /etc/nsswitch.conf
Environment
- Red Hat Enterprise Linux 5
sudo-1.7.2p1-12.el5sudo-1.7.2p1-13.el5sudo-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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
