Bug 618230
Summary: | Apache discovery failure | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> | ||||||||
Component: | Plugins | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | urgent | ||||||||||
Version: | 3.0.0 | CC: | fdrabek, s.roy2 | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2010-08-12 16:54:45 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: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 577313, 601949 | ||||||||||
Attachments: |
|
Description
Lukas Krejci
2010-07-26 13:29:26 UTC
Created attachment 434424 [details]
Attachment contains conf files
Ok, I was able to reproduce this. This bug is caused by incorrect handling of absolute paths with a glob pattern. The workaround is to define all the Include directives with relative paths which are going to get resolved under the ServerRoot. In case of the provided configuration files, it should be enough to change Include /usr/local/apache2/conf/vhosts.d/*.conf with Include conf/vhosts.d/*.conf Created attachment 434433 [details]
proposed patch
the above comment should have read "proposed patch" :) Since this has a workaround I don't think this is a blocker however its something we should get fixed in master asap. Created attachment 434809 [details]
second iteration of the patch
Adding a null check for File.listRoots() so that we don't blow up in the presumably rare case when that method would return null.
The patch solves the apache discovery problem. The problem can still occure during loading and updating of configuration. (Augeas functionality) Patch was applied by commit 56081bbf57ddb82a7796ac33f5db80a4ed014d20. The problem with loading and updating of configuration is described in this issue: https://bugzilla.redhat.com/show_bug.cgi?id=618877 . QA Verified. Mass-closure of verified bugs against JON. |