I'm running into a problem again with SElinux, I've put SElinux into permissive mode and its working again.
Using exim for the mailer and pgsql for the domain/username etc I get a permission denied when exim attempts to access postgres, the actual error message is "PGSQL connection failed: could not connect to server: Permission denied"
Ok so what do I need to tell SElinux to make it work again? Also where do I find the logs for what SElinux is doing? or at least temporarily enable logging?
Also some more information, I just changed the name of the machine along with its IP address, I suspect that has something to do with the problem as I also can't get ssh to authenticate with public/private keypairs.
Thanks, Jeff
On 12/04/2010 10:09 PM, Jeffrey Ross wrote:
I'm running into a problem again with SElinux, I've put SElinux into permissive mode and its working again.
Using exim for the mailer and pgsql for the domain/username etc I get a permission denied when exim attempts to access postgres, the actual error message is "PGSQL connection failed: could not connect to server: Permission denied"
Ok so what do I need to tell SElinux to make it work again? Also where do I find the logs for what SElinux is doing? or at least temporarily enable logging?
Also some more information, I just changed the name of the machine along with its IP address, I suspect that has something to do with the problem as I also can't get ssh to authenticate with public/private keypairs.
Thanks, Jeff
forget the ssh stuff, got that figured out, I copied the wrong keys over.
On Saturday 04 December 2010 23:09:24 Jeffrey Ross wrote:
Ok so what do I need to tell SElinux to make it work again? Also where do I find the logs for what SElinux is doing? or at least temporarily enable logging?
Check /var/log/messages for any SELinux message there. Also try this:
sealert -a /var/log/audit/audit.log
or more specific:
grep exim /var/log/audit/audit.log | sealert -a
HTH, Jorge