Bug#239921: apache: postinst script fails on running metafont (!!!)
Package: apache
Version: 1.3.29.0.2-2
Severity: important
Tags: sid
After recently upgrading a bunch of packages, the apache postinst
script failed. It appears to be running MetaFont with the httpd.conf
file as input (!!!). Repeatedly running
dpkg --configure --pending
produces the same results.
As a side effect, all the apache configuration files in /etc/apache/
and /etc/apache/conf.d/ are being duplicated on each configuration
run.
For instance, I have:
/etc/apache/httpd.conf
/etc/apache/httpd.conf.dpkg-inst.queue
/etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue
/etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue.13550
/etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue.29534
/etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue.log
The first six files are identical except for a change in the Apache
PID location from /var/run/apache/ to /var/run/.
The last ".log" file appears to be the output from running MetaFont.
As a temporary work-around, I deleted all the *dpkg-inst.queue* files
and edited the postinst script as follows:
--- apache.postinst~ 2004-03-08 04:56:19.000000000 -0500
+++ apache.postinst 2004-03-24 16:14:32.000000000 -0500
@@ -37,9 +37,9 @@
add_webmaster_alias
fi
-do_all apache
+#do_all apache
-db_stop
+#db_stop
# this is some sort of hack since we only have dh_installinit down there
Then I re-ran dpkg --configure --pending and it appears that Apache is
running normally now.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-reiser4-extra
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages apache depends on:
ii apache-common 1.3.29.0.2-2 Support files for all Apache webse
ii debconf 1.4.14 Debian configuration management sy
ii dpkg 1.10.19 Package maintenance system for Deb
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-12 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libmagic1 4.07-2 File type determination library us
ii libpam0g 0.76-15 Pluggable Authentication Modules l
ii logrotate 3.6.5-2 Log rotation utility
ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.3-2 Larry Wall's Practical Extraction
-- debconf information:
* apache/enable-suexec: false
* apache/server-name: fax.html.com
* apache/document-root: /var/www
* apache/server-port: 80
* apache/init: true
* apache/server-admin: webmaster@fax.html.com
Reply to: