Bug#913823: apache2: dav.load does not check for an already loaded dav_module

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#913823: apache2: dav.load does not check for an already loaded dav_module

Nye Liu
Package: apache2
Version: 2.4.38-1
Followup-For: Bug #913823

Workaround in /etc/apache2/mods-available/dav.load:

<IfModule !mod_dav.c>
    LoadModule dav_module /usr/lib/apache2/modules/mod_dav.so
</IfModule>

Alternately just make dav_fs not depend on dav, it will autoload it.

Reply | Threaded
Open this post in threaded view
|

Bug#913823: apache2: dav.load does not check for an already loaded dav_module

Stefan Fritsch
On Friday, 1 February 2019 03:49:22 CEST Nye Liu wrote:

> Package: apache2
> Version: 2.4.38-1
> Followup-For: Bug #913823
>
> Workaround in /etc/apache2/mods-available/dav.load:
>
> <IfModule !mod_dav.c>
>     LoadModule dav_module /usr/lib/apache2/modules/mod_dav.so
> </IfModule>
>
> Alternately just make dav_fs not depend on dav, it will autoload it.

This does not make sense. There is no functionality in mod_dav_fs that would
autoload mod_dav. The "# Depends: dav" in dav_fs.load is a hint to a2enmod to
enable dav.load, too. But this is visible by a symlink in mods-enabled. There
must be another LoadModule somewhere else in your configuration.

You should probably do

grep -R dav_module /etc/apache2/{*.conf,*-enabled}

to find it.