For the most part I have everything installed just fine; however in order to keep the postgres DB connection alive I have to keep SeLinux disabled. As soon as I reenable it the connection to postgres is lost and timetrex is "down for maintenance"
How can I reenable SeLinux without loosing DB connection?
Selinux DB Connection
Re: Selinux DB Connection
What Linux distro/version are you using?
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!
Re: Selinux DB Connection
Centos 8 and timetrex community, I just downloaded it a few days ago through the timetrex website so it the most current version, whatever that is. I followed the instructions to temp disable using setenforce 0 but cannot setenforce 1 without losing connection.
Re: Selinux DB Connection
We are just in the process of finalizing official instructions for installing TimeTrex on CentOS v8, they should be completed soon.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!
Re: Selinux DB Connection
Thank you. Please let me know when they become available. I’m assuming this has to do with the security context of postgresql but I’m not to familiar with SELinux
Re: Selinux DB Connection
I did a little research on the topic. I was able to allow apache access to postgresql by:
setsebool -P httpd_can_network_connect_db 1
setsebool -P httpd_can_network_connect_db 1