ports/133385: dav_svn_module and authz_svn_module added in wrong order in httpd.conf if selected.

Vincent Hoffman vince at unsane.co.uk
Sat Apr 4 21:00:06 UTC 2009


>Number:         133385
>Category:       ports
>Synopsis:       dav_svn_module and authz_svn_module added in wrong order in httpd.conf if selected.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 04 21:00:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Vincent Hoffman
>Release:        7-STABLE
>Organization:
>Environment:
FreeBSD crab.unsane.co.uk 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #54: Tue Mar 24 09:24:18 GMT 2009     toor at crab.unsane.co.uk:/usr/obj/usr/src/sys/CRAB  amd64
>Description:
I reinstalled devel/subversion to add the mod_dav_svn module to apache(22)

It added the correct lines to httpd.conf but with the svn modules in this order

LoadModule authz_svn_module   libexec/apache22/mod_authz_svn.so
LoadModule dav_svn_module     libexec/apache22/mod_dav_svn.so

this causes apache22 to complain and refuse to restart until you switch the order.

It also added the line
LoadModule dav_module libexec/apache22/mod_dav.so
even though its already in my config, although this just makes apache22 say its ignoring it as its already loaded.


>How-To-Repeat:
install subversion with the following config
21:48:20 </usr/ports/devel/subversion>) 0 # make showconfig
===> The following configuration options are available for subversion-1.6.0_1:
     MOD_DAV_SVN=on "mod_dav_svn module for Apache 2.X"
     APACHE2_APR=off "Use APR from Apache 2.X"
     NEON=on "WebDAV/Delta-V repo access module (neon)"
     SERF=off "WebDAV/Delta-V repo access module (serf)"
     SASL=off "SASL2 authorization support"
     BDB=on "db4 repository backend"
     ASVN=off "Build and install Archive SVN (asvn)"
     MAINTAINER_DEBUG=off "Build debug version"
     SVNSERVE_WRAPPER=off "Enable svnserve wrapper"
     BOOK=off "Install the Subversion Book"

then try to restart apache.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list