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

Bug#217109: /usr/sbin/modules-config apache-perl creates modules.conf with random order(!)



Package: apache-perl
Version: 1.3.28-4
Severity: important
Tags: sid

When /usr/sbin/modules-config apache-perl is run
/etc/apache-perl/modules.conf is (re-)generated.

The order of the LoadModule-statements in the new modules.conf-file
seem to be random (changing for every invocation).

That is a problem because Apache works in different ways (or doesn't
work) depending on what order the LoadModule statements appear in.

For instance one of my websites suddenly displayed an index of files
and dirs instead of index.html on the frontpage, after upgrading.

Ordering the LoadModules lines as before I upgraded apache-perl made
the website function as usual again.

Maybe it's a bug in Apache that the order of LoadModules statements
change functionality, but it's a given fact; as far as I know has been
for a long time.

Until that is fixed in Apache (if it indeed is a bug and not just
deemed an inconvenience) modules-config should create modules.conf
with LoadModules-statements in a sane, non-random order.

As an example, here's a generated modules.conf (exhibits the problem
explained above):

,----[ modules.conf ]
| # Autogenerated file - do not edit!
| # This file is maintained by the apache-perl package.
| # To update it, run the command:
| #    /usr/sbin/modules-config apache-perl
| LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
| LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
| LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
| LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
| LoadModule access_module /usr/lib/apache/1.3/mod_access.so
| LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
| LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
| LoadModule action_module /usr/lib/apache/1.3/mod_actions.so
| LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
| LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
| LoadModule asis_module /usr/lib/apache/1.3/mod_asis.so
| LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
| LoadModule info_module /usr/lib/apache/1.3/mod_info.so
| LoadModule status_module /usr/lib/apache/1.3/mod_status.so
| LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
| LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
| LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
| LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
| LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
`----

And here's what I'm using instead, order taken from my previous
configuration:

,----[ modules-asjo.conf ]
| LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
| LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
| LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
| LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
| LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
| LoadModule status_module /usr/lib/apache/1.3/mod_status.so
| LoadModule info_module /usr/lib/apache/1.3/mod_info.so
| LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
| LoadModule asis_module /usr/lib/apache/1.3/mod_asis.so
| LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
| LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
| LoadModule action_module /usr/lib/apache/1.3/mod_actions.so
| LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
| LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
| LoadModule access_module /usr/lib/apache/1.3/mod_access.so
| LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
| LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
| LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
| LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
`----


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux virgil 2.4.21-hfsplus #1 Sun Sep 28 14:52:58 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=da_DK

Versions of packages apache-perl depends on:
ii  apache-common                 1.3.28-4   Support files for all Apache webse
ii  debconf                       1.3.16     Debian configuration management sy
ii  dpkg                          1.10.15    Package maintenance system for Deb
ii  libapache-mod-perl            1.28-4     Integration of perl with the Apach
ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an
ii  libdb4.1                      4.1.25-9   Berkeley v4.1 Database Libraries [
ii  libexpat1                     1.95.6-6   XML parsing C library - runtime li
ii  libmagic1                     4.06-1     File type determination library us
ii  libperl5.8                    5.8.1-3    Shared Perl library.
ii  mime-support                  3.23-1     MIME files 'mime.types' & 'mailcap

-- debconf information:
  apache-perl/old-pidfile-set: 
  apache-perl/server-port: 80
  apache-perl/init: true
* apache-perl/enable-suexec: false
  apache-perl/document-root: /var/www
* apache-perl/upgrade-from-apache-conflict: 
  apache-perl/server-name: localhost
  apache-perl/server-admin: webmaster@koldfront.dk




Reply to: