[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633897: apache2.2-common: a2enmod does not care for dependencies for authz_svn



Package: apache2.2-common
Version: 2.2.16-6+squeeze1
Severity: normal


Command a2enmod is used to enable modules for Apache 2.

Some of the modules have mutual dependencies.
E.g. authz_svn depends on dav_svn depends on dav.

Modules enabled by a2enmod will be loaded in alphabetic order.

Hence if authz_svn is enabled Apache2 fails with:

/etc/apache2/mods-enabled# /usr/sbin/apache2ctl restart
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/authz_svn.load: Cannot load /usr/lib/apache2/modules/mod_authz_svn.so into server: /usr/lib/apache2/modules/mod_authz_svn.so: undefined symbol: dav_svn_split_uri
Action 'restart' failed.

The error does not occur after renaming
/etc/apache2/mods-enabled/authz_svn.load to z_authz_svn.load.

The *.load files should contain information about all prerequisite modules.
a2enmod should ensure that enabled modules are called according to the necessary sequence.
E.g. by preceding the names of the links by numbers like in /etc/rc3.d.

As a first step, please, add comment lines to files /usr/lib/apache2/mods-available/*.load with the prerequisite modules like in the /etc/init.d/* files.

Best regards

Xypron

-- Package-specific info:
List of enabled modules from 'apache2 -M':
  alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_svn authz_user autoindex cgi dav_fs dav dav_svn
  deflate dir env mime negotiation php5 reqtimeout rewrite setenvif
  ssl status
List of enabled php5 extensions:
  apc mysql mysqli pdo pdo_mysql suhosin

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-028stab070.14 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2.2-common depends on:
ii  apache2-utils          2.2.16-6+squeeze1 utility programs for webservers
ii apache2.2-bin 2.2.16-6+squeeze1 Apache HTTP Server common binary f ii libmagic1 5.04-5 File type determination library us ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap ii perl 5.10.1-17squeeze2 Larry Wall's Practical Extraction
ii  procps                 1:3.2.8-9         /proc file system utilities

Versions of packages apache2.2-common recommends:
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL

Versions of packages apache2.2-common suggests:
ii apache2-doc 2.2.16-6+squeeze1 Apache HTTP Server documentation
pn  apache2-suexec | apach <none>            (no description available)
ii  epiphany-browser [www- 2.30.6-1          Intuitive GNOME web browser
ii  iceweasel [www-browser 3.5.16-8          Web browser based on Firefox
ii lynx-cur [www-browser] 2.8.8dev.5-1 Text-mode WWW Browser with NLS sup

Versions of packages apache2.2-common is related to:
pn  apache2-mpm-event <none>            (no description available)
pn  apache2-mpm-itk <none>            (no description available)
ii apache2-mpm-prefork 2.2.16-6+squeeze1 Apache HTTP Server - traditional n
pn  apache2-mpm-worker <none>            (no description available)

-- Configuration Files:
/etc/apache2/apache2.conf changed [not included]
/etc/apache2/conf.d/security changed [not included]
/etc/apache2/ports.conf changed [not included]
/etc/apache2/sites-available/default changed [not included]
/etc/apache2/sites-available/default-ssl changed [not included]

-- no debconf information




Reply to: