Bug#237946: apache-common: /etc/apache/modules.conf is not modified
Package: apache-common
Version: 1.3.29.0.2-4
Severity: normal
When I try to install an apache module with modules-config, the new version of /etc/apache/modules.conf is not installed. The new version only exists as modules.conf.dpkg-dist or real_file. For example:
/etc/apache# /usr/sbin/modules-config apache enable mod_perl
Replacing config file /etc/apache/modules.conf with new version
Not saving /etc/apache/modules.conf, since it was unmodified
cp -f /etc/apache/modules.conf.dpkg-inst.queue real_file
testix:/etc/apache# l
total 103
drwxr-xr-x 3 root root 368 Mar 14 15:39 .
drwxr-xr-x 72 root root 5328 Mar 14 10:59 ..
-rw-r--r-- 1 root root 285 Sep 13 2003 access.conf
drwxr-xr-x 2 root root 48 Mar 10 19:14 conf.d
-rw-r--r-- 1 root root 33863 Mar 14 11:02 httpd.conf
-rw-r--r-- 1 root root 35895 Mar 14 10:08 httpd.conf.zi.sav
lrwxrwxrwx 1 root root 15 Sep 13 2003 mime.types -> /etc/mime.types
-rw-r--r-- 1 root root 1291 Mar 14 14:14 modules.conf
-rw-r--r-- 1 root root 1346 Mar 14 15:39 modules.conf.dpkg-dist
-rw-r--r-- 1 root root 1346 Mar 14 15:39 real_file
-rw-r--r-- 1 root root 297 Sep 13 2003 srm.conf
-rw-r--r-- 1 root root 316 Mar 14 10:06 suexec.limits
The mod_perl did not exist in the modules.conf before and after the installation with modules-config.
Regards, Oliver
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.20
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache-common depends on:
ii apache-utils 1.3.29.0.2-4 Utility programs for webservers
ii debconf 1.4.16 Debian configuration management sy
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-14 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-6 XML parsing C library - runtime li
ii mime-support 3.25-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.3-2 Larry Wall's Practical Extraction
ii sed 4.0.7-4 The GNU sed stream editor
ii ucf 0.32 Update Configuration File: preserv
-- debconf information:
* apache-common/confignotes:
apache-common/old-logrotate-exists:
apache-common/logs:
apache-shared/debconf-modules: mod_userdir, mod_unique_id, mod_status, mod_setenvif, mod_rewrite, mod_negotiation, mod_mime_magic, mod_mime, mod_log_config, mod_info, mod_expires, mod_dir, mod_cgi, mod_autoindex, mod_auth, mod_alias, mod_access, mod_php4, mod_perl
apache-shared/restart: false
Reply to: