Bug 242885 - Selinux linux prevents cgi scripts working
Selinux linux prevents cgi scripts working
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-06-06 04:41 EDT by redtux
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-06 11:46:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description redtux 2007-06-06 04:41:08 EDT
On F7 the selinux policy prevents cgi (perl) scripts from connecting to 
Postgresql database.

I cannot see any6way to tune this so have no choice but to disable selinux, 
which is not a perfect solution
Comment 1 Daniel Walsh 2007-06-06 11:46:56 EDT
setsebool -P httpd_can_network_connect_db=1

Will allow this. 

Try install setroubleshoot, this would have told you this.

Note You need to log in before you can comment on or make changes to this bug.