Bug 879264

Summary: mod_security should not unconditionally load mod_unique_id
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: mod_securityAssignee: Othman Madjoudj <athmanem>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: athmanem, pvrabec
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-01 09:44:02 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:

Description Joe Orton 2012-11-22 13:37:00 UTC
Description of problem:
[root@virt-f18g ~]# cat /etc/httpd/conf.modules.d/10-mod_security.conf
LoadModule security2_module modules/mod_security2.so
LoadModule unique_id_module modules/mod_unique_id.so
[root@virt-f18g ~]# grep unique_id /etc/httpd/conf.modules.d/*.conf
/etc/httpd/conf.modules.d/00-base.conf:LoadModule unique_id_module modules/mod_unique_id.so
/etc/httpd/conf.modules.d/10-mod_security.conf:LoadModule unique_id_module modules/mod_unique_id.so

Version-Release number of selected component (if applicable):
mod_security-2.7.1-3.fc18.x86_64

How reproducible:
always

Steps to Reproduce:
1. systemctl start httpd.service
2. grep 'httpd.*warn' /var/log/messages
  
Actual results:
Nov 22 13:32:30 virt-f18g httpd[28729]: [Thu Nov 22 13:32:30.393918 2012] [so:warn] [pid 28729] AH01574: module unique_id_module is already loaded, skipping


Expected results:
no warnings

Comment 1 Othman Madjoudj 2012-11-22 13:42:12 UTC
I'll make an update to fix this issue in a few.

Comment 2 Joe Orton 2012-11-22 13:46:22 UTC
I also get this error:

Nov 22 13:45:09 virt-f18g httpd[29208]: httpd: Syntax error on line 351 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf.d/mod_security.conf: No matches for the wildcard '*.conf' in '/etc/httpd/modsecurity.d', failing (use IncludeOptional if required)

Comment 3 Fedora Update System 2012-11-22 15:42:29 UTC
mod_security-2.7.1-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mod_security-2.7.1-5.fc18

Comment 4 Othman Madjoudj 2012-11-22 15:45:47 UTC
2.7.1-5 update should fix both issues, please test.

Comment 5 Fedora Update System 2012-11-22 18:47:36 UTC
Package mod_security-2.7.1-5.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 mod_security-2.7.1-5.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18801/mod_security-2.7.1-5.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-12-01 09:44:04 UTC
mod_security-2.7.1-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.