Apache2 webdav module undefined symbol

Bug #5279 reported by Maftoul Samuel
6
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Fix Released
Medium
Soren Hansen

Bug Description

root@host:/etc/apache2/sites-available# /etc/init.d/apache2 reload
 * Reloading web server config... Syntax error on line 1 of /etc/apache2/mods-enabled/dav_fs.load:
Cannot load /usr/lib/apache2/modules/mod_dav_fs.so into server: /usr/lib/apache2/modules/mod_dav_fs.so: undefined symbol: dav_hook_gather_propsets

Configuration:

# cat /etc/apache2/sites-enabled/mysite
[...]
    Alias /data /home/data
    <Location /data>
        Dav On
    </Location>
[...]

Revision history for this message
Maftoul Samuel (samuel-maftoul) wrote :

a2enmod dav is enough to repare the undefined symbol problem.
Desing problem ? Maybe a2enmod should introduce apache module depedencies ?

Matt Zimmerman (mdz)
Changed in apache2:
assignee: nobody → adconrad
Revision history for this message
Adam Conrad (adconrad) wrote :

a2enmod handles module dependencies in our apache2.2 branch, however this change won't be backported to apache2.0 in dapper this late in the cycle.

Revision history for this message
Martin Bergner (martin-bergner) wrote :

What is the progress on this bug, will there be a backport at some time? If so, maybe you should open a dapper-backports task. Otherwise, I suppose this bug has to be rejected since it won't be fixed.

Revision history for this message
Maftoul Samuel (samuel-maftoul) wrote :

I don't think it there will be a backport at some time, and I'm not interested in it.
I don't think this bug has to be rejected, it's still there in edgy (just tested):

-----
root@xerxas-laptop:/home/xerxas# a2enmod
Module name? dav_fs
Module dav_fs installed; run /etc/init.d/apache2 force-reload to enable.

root@xerxas-laptop:/home/xerxas# /etc/init.d/apache2 force-reload
 * Forcing reload of apache 2.0 web server...
Syntax error on line 1 of /etc/apache2/mods-enabled/dav_fs.load:
Cannot load /usr/lib/apache2/modules/mod_dav_fs.so into server: /usr/lib/apache2/modules/mod_dav_fs.so: undefined symbol: dav_hook_gather_propsets
                                                                         [fail]
-----

I don't see an apache 2.2 branch in edgy

Revision history for this message
Maftoul Samuel (samuel-maftoul) wrote :

The a2enmod script contains this:

-----
if [ $MODNAME = "cgi" ] && [ -z $PREFORK ]; then
        MODNAME="cgid"
fi
-----

This is cgi specific.

Maybe we can have some webdav specific stuff to solve this problem.

How does apache 2.2 packages handle module dependencies ?
Is this thru the a2enmod script or apache does handle dependencies natively ?

Revision history for this message
Paul Dufresne (paulduf) wrote :

Confirming as the information seems to be complete enough to be reviewed by a maintainer.

Changed in apache2:
status: Unconfirmed → Confirmed
Revision history for this message
Soren Hansen (soren) wrote :

Current apache2 (which is actually 2.2) has dependency handling in a2enmod (it checks for " # Depends: " headers in the .load file). Marking as fixed.
If you disagree, feel free to reopen the bug.

Changed in apache2:
assignee: adconrad → shawarma
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.