Bug 559182

Summary: make /etc/zabbix/web writeable by apache
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.6.32-78.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-02 01:23:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Horák 2010-01-27 11:45:49 UTC
Zabbix monitoring system uses for its configration a web-based wizard which stores the generated configuration as /etc/zabbix/web/zabbix.conf.php file. The /etc/zabbix/web directory is owned by apache:apache with permissions 0750 and what remains for successful function is to have httpd_sys_content_rw_t there.

Please add the following file context to the policy

/etc/zabbix/web(/.*)?                 gen_context(system_u:object_r:httpd_sys_content_rw_t,s0)

Comment 1 Miroslav Grepl 2010-01-27 16:40:51 UTC
Fixed in selinux-policy-3.6.32-78.fc12

Comment 2 Fedora Update System 2010-01-28 09:24:07 UTC
selinux-policy-3.6.32-78.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-78.fc12

Comment 3 Fedora Update System 2010-01-29 03:29:20 UTC
selinux-policy-3.6.32-78.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1207

Comment 4 Fedora Update System 2010-02-02 01:21:27 UTC
selinux-policy-3.6.32-78.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.