| Summary: | Apache 2.4 crashes when adding zeroconf avahi dnssd module | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | bittar <biba_paris> |
| Component: | RPM Packages | Assignee: | Olav Vitters <olav> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | biba_paris, luigiwalser, marja11, qa-bugs |
| Version: | 5 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | apache-mod_dnssd-0.6-10.mga5.x86_64 | CVE: | |
| Status comment: | |||
|
Description
bittar
2016-05-12 22:02:53 CEST
bittar
2016-05-12 22:13:39 CEST
CC:
(none) =>
biba_paris @ Olav Maintdb says you're the maintainer of this package, is that correct? http://maintdb.mageia.org/apache-mod_dnssd CC:
(none) =>
marja11 Thanks for the report. Please test the updated package and confirm it works. Let us know which architecture you tested on. Advisory: ---------------------------------------- The apache-mod_dnssd package has been patched to work correctly with Apache 2.4. ---------------------------------------- Updated packages in core/updates_testing: ---------------------------------------- apache-mod_dnssd-0.6-10.1.mga5 from apache-mod_dnssd-0.6-10.1.mga5.src.rpm Assignee:
olav =>
qa-bugs Some odd non-standard packaging with this module. Initially it appears to work, but it actually isn't loading OOTB. # systemctl restart httpd.service # systemctl status httpd.service â httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled) Active: active (running) since Thu 2016-06-09 20:50:11 BST; 2s ago It puts the .so in /usr/lib/apache-extramodules/ and uses a module configuration in /etc/http/modules.d/ rather than /etc/httpd/modules and /etc/httpd/conf/modules.d/. The conf begins with A47_ which stands out amongst the others which start with 00_ 02_ 70_ etc. This all means it isn't included and isn't loaded. # httpd -M | grep dns Nothing actually supplies the file mentioned by the reporter in comment 0 /etc/httpd/modules/mod_dnssd.so in either current or testing so presumably it's self compiled.. After installing the update nothing is appears to have changed.. # systemctl restart httpd.service # systemctl status httpd.service â httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled) Active: active (running) since Thu 2016-06-09 21:22:49 BST; 4s ago # httpd -M | grep dns | wc -l 0 It's hard to validate this as it appears basically broken but I'm unable to replicate the crash and there's no regression at least. WDYT? Thanks for testing Claire. There were many packaging changes made for Apache modules once we moved to Apache 2.4, and it appears that this package was never touched or fixed for that. Assigning back to Olav. If it doesn't get fixed, we'll have to drop it for Mageia 6. CC:
(none) =>
qa-bugs To Claire, Thank you for testing. As you pointed it out, this module cannot run out of the box, due to erroneous and amazing directory install. Anyway, to make it run you have to : 1) Verify that /usr/lib64/apache-extramodules/mod_dnssd.so exists (bogus or patched version). 2) Insert 1st line below in file /etc/httpd/modules.d/A47_mod_dnssd.conf to force module loading ( delete <IfDefine HAVE_DNSSD> bloc): LoadModule dnssd_module extramodules/mod_dnssd.so 3) Insert line 56 in file /etc/httpd/conf/httpd.conf: Include modules.d/*.conf If the mod_dnssd.so is the bogus one, it crashes. I suggest to rework completely this package installation. Anyone wanting to completely redo the spec file feel free to do so. David: Any recommendations for a good module to look at?
Olav Vitters
2016-06-15 12:20:04 CEST
Severity:
normal =>
critical (In reply to David Walser from comment #2) > Thanks for the report. Please test the updated package and confirm it > works. Let us know which architecture you tested on. > Thank you. To answer your questions: 1) my test architecture is x86_64 2) the patched version of mod_dnssd.so works fine. I suggest when rebuiding the rpm to simplify the directories choices, and use of existant ones. I don't understand why such complex directory map is needed to install and run this poor module ! Regards Sorry Olav, I just saw this. Guillaume made commits to several such packages for the adaptation. Here's a few I found: http://svnweb.mageia.org/packages/?view=revision&revision=280773 http://svnweb.mageia.org/packages/?view=revision&revision=283918 http://svnweb.mageia.org/packages/?view=revision&revision=280787 This was never fixed. Sorry. Resolution:
(none) =>
OLD |