Description of problem: when having selinux enabled service wont start up properly for monitoring and config Version-Release number of selected component (if applicable): 1.7 postgres backend , Centos 6 Steps to Reproduce: 1. setenforce 1 2. spacewalk-selinux-enable 3. spacewalk-service-start Actual results: 2012-03-29 16:08:38 InstallSoftwareConfig: !! DBI connect('dbname=spaceschema','spaceuser',...) failed: could not connect to server: Permission denied Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? at /usr/share/perl5/vendor_perl/RHN/DBI.pm line 72 Starting InstallSoftwareConfig ... [ FAIL ] 2012-03-29 16:08:38 InstallSoftwareConfig: WARNING: STARTED BUT *NOT* RUNNING 2012-03-29 16:08:38 InstallSoftwareConfig: ERRORS ENCOUNTERED DURING LAST ACTION: 2012-03-29 16:08:38 InstallSoftwareConfig: !! DBI connect('dbname=spaceschema','spaceuser',...) failed: could not connect to server: Permission denied Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? at /usr/share/perl5/vendor_perl/RHN/DBI.pm line 72 2012-03-29 16:08:38 Monitoring: !! Monitoring configuration load failed 2012-03-29 16:08:38 Monitoring: !! Monitoring configuration not loaded - not starting MOC functions! [ FAIL ] 2012-03-29 16:08:38 Monitoring: WARNING: STARTED BUT *NOT* RUNNING 2012-03-29 16:08:38 Monitoring: ERRORS ENCOUNTERED DURING LAST ACTION: 2012-03-29 16:08:38 Monitoring: !! Monitoring configuration load failed 2012-03-29 16:08:38 Monitoring: !! Monitoring configuration not loaded - not starting MOC functions! Starting MonitoringScout ... 2012-03-29 16:08:38 InstallSoftwareConfig: WARNING: STARTED BUT *NOT* RUNNING 2012-03-29 16:08:38 InstallSoftwareConfig: ERRORS ENCOUNTERED DURING LAST ACTION: 2012-03-29 16:08:38 InstallSoftwareConfig: !! DBI connect('dbname=spaceschema','spaceuser',...) failed: could not connect to server: Permission denied Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? at /usr/share/perl5/vendor_perl/RHN/DBI.pm line 72 Expected results: should startup without errors just like with selinux disabled Additional info:
*** Bug 1014909 has been marked as a duplicate of this bug. ***
I'm closing this as it was affecting 1.7, now we are at 2.6, monitoring got dropped anyways
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.