Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 7500

Summary: mod_dav-1.0.3-r1: mod_dav.conf is wrong
Product: Gentoo Linux Reporter: Dominik Westner <gentoo>
Component: Current packagesAssignee: Donny Davies (RETIRED) <woodchip>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dominik Westner 2002-09-05 04:09:47 UTC
the mod_dav.conf is wrong.

DAVLockDB should not point to a directory, but to a path including the basename
for the lock database.

If it points to a directory you get very strange errors in the error log
(essentially a permissions denied for writing the lock db)

So instead of mod_dav.conf having this content:

# $Header: /home/cvsroot/gentoo-x86/net-www/mod_dav/files/mod_dav.conf,v 1.2
2002/05/04 23:23:01 woodchip Exp $
<IfModule mod_dav.c>

DAVLockDB /var/lock/mod_dav

</IfModule>


it should have this:

# $Header: /home/cvsroot/gentoo-x86/net-www/mod_dav/files/mod_dav.conf,v 1.2
2002/05/04 23:23:01 woodchip Exp $
<IfModule mod_dav.c>

DAVLockDB /var/lock/mod_dav/Dav_Lock

</IfModule>


This will create the following locking database:

/var/lock/mod_dav/Dav_Lock.pag
/var/lock/mod_dav/Dav_Lock.dir


Obviously it's better if virtual hosts define their own locking db if they use a
different directory for dav.
Comment 1 Chris Carlin 2002-09-12 19:03:11 UTC
I hate to post this useless message, but with Mozilla's calendar recently being
able to publish to web_dav enabled sites this bug might suddenly become more
important to many users....

Comment 2 Donny Davies (RETIRED) gentoo-dev 2002-09-13 22:24:07 UTC
Fixed.