Mailing List Archive

[Bricolage #174] Installed Apache modules missed during installation due to relative paths
// Add your reply above here
==================================================
Michael Herring updated this ticket at May 25th, 2010 @ 03:00 PM

When checking for required Apache modules the inst/htprobe_apache2.pl fails to slurp up additional apache conf files defined within httpd.conf which may result in Bricolage failing to find a required but installed module.

This problem occurred for me with both Centos 5.4 and Ubuntu 9.10 when checking mod_apreq2. I'm currently working with a vanilla Bricolage 2.0 install.

I've attached a patch which addresses the issue.
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
Assets:
- conf_slurp_patch.diff http://bricolage.lighthouseapp.com/projects/29601/tickets/174/a/533529/conf_slurp_patch.diff
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/174-installed-apache-modules-missed-during-installation-due-to-relative-paths
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/174-installed-apache-modules-missed-during-installation-due-to-relative-paths/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com
[Bricolage #174] Installed Apache modules missed during installation due to relative paths [ In reply to ]
// Add your reply above here
==================================================
theory updated this ticket at May 25th, 2010 @ 05:03 PM
* Milestone changed from "" to "2.1.0"
Your patch is a start, but it might find non-httpd configuration files and perhaps parse errors. Better would be to recognize the `Include` directive in the initial file and pull in and parse such files.

Just MHO.

David
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
Milestone: 2.1.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/174-installed-apache-modules-missed-during-installation-due-to-relative-paths
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/174-installed-apache-modules-missed-during-installation-due-to-relative-paths/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com
[Bricolage #174] Installed Apache modules missed during installation due to relative paths [ In reply to ]
// Add your reply above here
==================================================
Michael Herring updated this ticket at May 25th, 2010 @ 05:26 PM

David,

The current htprobe_apache2.pl locates the httpd.conf then looks for the Include directive but fails to pull in those confs if the include directive value is a relative path. The patch just tries to convert the relative path to an absolute path using the HTTPD_ROOT as a prefix to the Include directive value.

-Michael
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
Milestone: 2.1.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/174-installed-apache-modules-missed-during-installation-due-to-relative-paths
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/174-installed-apache-modules-missed-during-installation-due-to-relative-paths/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com
[Bricolage #174] Installed Apache modules missed during installation due to relative paths [ In reply to ]
// Add your reply above here
==================================================
theory updated this ticket at May 25th, 2010 @ 05:28 PM
* Milestone changed from "2.1.0" to "2.0.1"
* State changed from "new" to "open"
Oh, that seems to make sense. Hell, I think it should probably be considered a bug fix.

Thanks!

David
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: open
Milestone: 2.0.1
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/174-installed-apache-modules-missed-during-installation-due-to-relative-paths
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/174-installed-apache-modules-missed-during-installation-due-to-relative-paths/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com