Open Bug 1480935 Opened 7 years ago

SElinux permissions for bugzilla

Categories

(Bugzilla :: Installation & Upgrading, defect)

5.0.3
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: almond, Unassigned)

Details

Attachments

(1 file)

409 bytes, application/x-shellscript
Details
Attached file selinux.fix.sh
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180704192850 Steps to reproduce: Installed Buzilla 5.0.4 on RHEL 7.5 server using tarball. SElinux is set to enforcing. Under administrator control panel, went to configure sslbase parameters. Actual results: Got error message The new value for sslbase is invalid: Failed to connect to pluto.coe.fsu.edu:443; unable to enable SSL. I had no difficulty connecting to sslbase web page using browser. Expected results: The configuration files should have been updated. Note that the issue was an SElinux problem and the fix was to enter the following commands (as root) setbool -P httpd_can_network_connect 1 setbool -P nis_enabled 1 I have prepared as small shell script containing the SE linux commands which need to be run to allow bugzilla to run under RHEL 7.5 (and probably CentOS 7.5 as well). I recommend including this file in the bugzilla home directory and adding a note about it in the installation instructions.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: