Bug 957522

Summary: Fix mod_security data/tmp directory default context
Product: [Fedora] Fedora Reporter: Othman Madjoudj <athmanem>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dominick.grift, dwalsh, lilley.rpm, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.11.1-95.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-21 08:41:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 952404    

Description Othman Madjoudj 2013-04-28 18:05:05 UTC
Description of problem:

Since mod_security 2.7.x, a directory is required to store temporary and persistent data, however the directory context is not set correctly.

We'd like to have the following defaults:

Directory      : /var/lib/mod_security

Default context: system_u:object_r:httpd_var_lib_t:s0

Comment 1 Miroslav Grepl 2013-04-29 07:21:58 UTC
commit 33836175ad4e4fea216a26a3bd7d32741cb8a689
Author: Miroslav Grepl <mgrepl>
Date:   Mon Apr 29 09:21:36 2013 +0200

    Add labeling support for /var/lib/mod_security

Comment 2 Fedora Update System 2013-05-07 21:29:42 UTC
selinux-policy-3.11.1-94.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-94.fc18

Comment 3 Fedora Update System 2013-05-09 10:12:23 UTC
Package selinux-policy-3.11.1-94.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-94.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7743/selinux-policy-3.11.1-94.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-05-17 11:01:21 UTC
selinux-policy-3.11.1-95.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-95.fc18

Comment 5 Fedora Update System 2013-05-21 08:41:16 UTC
selinux-policy-3.11.1-95.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.