Subject: svn_path_basename: Assertion `is_canonical(path, len)' failed.
Package: libapache2-svn
Version: 1.4.2dfsg1-2
Severity: important

*** Please type your report below this line ***

Below is the apache configuration for my subversion repository. It is symlinked 
on the sites-enabled dir (everything else is unchanged):

---------------------------------------------------------------------------------
<VirtualHost *>
   ServerName svn.xxxxxx.biz
    ServerAdmin [EMAIL PROTECTED]
    ServerSignature On
    DocumentRoot /var/www/svn.xxxxxx.biz/htdocs/

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined

    <Directory />
        AllowOverride None
    </Directory>

    <Directory /var/www/svn.xxxxxx.biz/htdocs/>
        Options MultiViews
        AllowOverride None
        Order Allow,Deny
        Allow from all
    </Directory>

    <Directory /var/svn/main/>
        Options Indexes
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <Location /repos/main/>
        DAV svn
        SVNPath /var/svn/main
        # AuthzSVNAccessFile /etc/apache2/svn/main/acls
        AuthType Basic
        AuthName "Xxxxxx Subversion Repository"
        AuthBasicProvider ldap
        AuthLDAPURL 
ldap://ds.int.xxxxxx.biz:389/ou=People,dc=Xxxxxx,dc=com,o=internet?uid?sub?(objectClass=inetOrgPerson)
        AuthzLDAPAuthoritative off
        Require valid-user
    </Location>    
</VirtualHost>
---------------------------------------------------------------------------------

As is, it works, but when I uncomment the AuthzSVNAccessFile, this error appear 
on the log every time I access /repos/main through my browser:

apache2: /build/buildd/subversion-1.4.2dfsg1/subversion/libsvn_subr/path.c:377: 
svn_path_basename: Assertion `is_canonical(path, len)' failed.
[Thu Jul 19 13:00:22 2007] [notice] child pid 1622 exit signal Aborted (6)

It happens always, with independency of the contents of 
/etc/apache2/svn/main/acls.

Anyway, its contents are

---------------------------------------------------------------------------------
[/]
* = r
---------------------------------------------------------------------------------

Cheers

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libapache2-svn depends on:
ii  apache2.2-common            2.2.3-4      Next generation, scalable, extenda
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libsvn1                     1.4.2dfsg1-2 Shared libraries used by Subversio

libapache2-svn recommends no packages.

-- no debconf information





       
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/

Reply via email to