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

Bug#383267: apache: subprocess post-installation script returned error exit status 10



Package: apache
Version: 1.3.33-6sarge3
Severity: important
Tags: security
Followup-For: Bug #383267

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This bug is also present in the latest security updates for Sarge,
preventing them from being applied.  I believe that the fix from 
1.3.34-4 should be backported and distributed as an updated 
security fix with an updated version of DSA 1167.

Here's a trace from trying to upgrade as recommended by DSA 1167-1:
version of 
rasputin:/var/lib/dpkg/info# apt-get upgrade    
+ apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
  bash bc console-common evolution ftp gstreamer0.8-alsa less libedata-book1.2-2 libgnomecups1.0-1 libgstreamer-plugins0.8-0
  liblinphone1 mtr-tiny nfs-common ntp pcmcia-cs procps psmisc qsynaptics tcsh whiptail
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up apache (1.3.33-6sarge3) ...
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/apache.postinst configure 1.3.33-6sarge2
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ . /usr/share/apache/postinst.common
+ '[' configure '!=' configure ']'
+ HIDE=
+ '[' 1.3.33-6sarge2 '!=' '' ']'
+ UPGRADE=true
+ dpkg --compare-versions 1.3.33-6sarge2 ge 1.3.28-1
+ HIDE=quiet
+ dpkg --compare-versions 1.3.33-6sarge2 lt 1.3.27-0.1
+ dpkg --compare-versions 1.3.33-6sarge2 eq 1.3.33-6sarge3
+ dpkg --compare-versions 1.3.33-6sarge2 ge 1.3.29.0.1-1
+ '[' -e /etc/apache/suexec.limits ']'
+ /usr/sbin/apache-modconf apache internal quiet
+ '[' true '!=' true ']'
+ do_all apache
+ '[' 1 -ne 1 ']'
+ pkg=apache
+ '[' '!' -e /etc/apache/modules.conf ']'
++ printf '\x07'
+ export $'IFS=\a'
+ IFS=$'\a'
++ /usr/share/apache/listconffiles /etc/apache/httpd.conf.dpkg-inst.queue
+ CONFS=$'/etc/apache/modules.conf\a'
++ printf '\x07'
+ export $'CONFS=/etc/apache/httpd.conf.dpkg-inst.queue\a/etc/apache/modules.conf\a'
+ CONFS=$'/etc/apache/httpd.conf.dpkg-inst.queue\a/etc/apache/modules.conf\a'
+ prepare_ucf apache
+ '[' 1 -ne 1 ']'
+ pkg=apache
+ for i in '$CONFS'
+ '[' '!' -e /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue ']'
+ for i in '$CONFS'
+ '[' '!' -e /etc/apache/modules.conf.dpkg-inst.queue ']'
+ do_debconf_configs apache
+ '[' 1 -ne 1 ']'
+ pkg=apache
+ for i in '$CONFS'
+ i=/etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue
+ '[' '!' '' ']'
++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue servername
++ perl -e ' OUTER: while (<>) {next OUTER if /^\s*#/;next OUTER if /^$/;if ( (/<virtualhost/i &&  ! /#.*<virtualhost/i)
 || /<virtualhost.*#.*<virtualhost/i ){ INNER: while (<>) { next INNER until /<\/virtualhost/i }};print if /^\s*servername/i}'
++ tail -n 1
++ awk '{print $2}'
+ SERNAME=localhost
+ SERNAMERB=localhost
+ '[' '!' '' ']'
++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue serveradmin
++ perl -e ' OUTER: while (<>) {next OUTER if /^\s*#/;next OUTER if /^$/;if ( (/<virtualhost/i &&  ! /#.*<virtualhost/i)
 || /<virtualhost.*#.*<virtualhost/i ){ INNER: while (<>) { next INNER until /<\/virtualhost/i }};print if /^\s*serveradmin/i}'
++ tail -n 1
++ awk '{print $2}'
+ SERADMIN=bmork@nextra.com
+ SERADMINRB=bmork@nextra.com
+ '[' '!' '' ']'
++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue documentroot
++ perl -e ' OUTER: while (<>) {next OUTER if /^\s*#/;next OUTER if /^$/;if ( (/<virtualhost/i &&  ! /#.*<virtualhost/i)
 || /<virtualhost.*#.*<virtualhost/i ){ INNER: while (<>) { next INNER until /<\/virtualhost/i }};print if /^\s*documentroot/i}'
++ tail -n 1
++ awk '{print $2}'
+ DOCROOT=/var/www
+ DOCROOTRB=/var/www
+ '[' apache '!=' apache-ssl ']'
+ '[' '!' '' ']'
++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue port
++ perl -e ' OUTER: while (<>) {next OUTER if /^\s*#/;next OUTER if /^$/;if ( (/<virtualhost/i &&  ! /#.*<virtualhost/i)
 || /<virtualhost.*#.*<virtualhost/i ){ INNER: while (<>) { next INNER until /<\/virtualhost/i }};print if /^\s*port/i}'
++ tail -n 1
++ awk '{print $2}'
+ PORT=80
+ PORTRB=80
+ for i in '$CONFS'
+ i=/etc/apache/modules.conf.dpkg-inst.queue
+ '[' '!' localhost ']'
+ '[' '!' bmork@nextra.com ']'
+ '[' '!' /var/www ']'
+ '[' apache '!=' apache-ssl ']'
+ '[' '!' 80 ']'
+ '[' '!' localhost ']'
+ db_set apache/server-name localhost
+ _db_cmd 'SET apache/server-name' localhost
+ printf '%s\n' 'SET apache/server-namelocalhost'
+ IFS='
'
+ read -r _db_internal_line
+ RET='10 apache/server-namelocalhost doesn'\''t exist'
+ case ${_db_internal_line%%[   ]*} in
+ return 10
dpkg: error processing apache (--configure):
 subprocess post-installation script returned error exit status 10


- -- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.27
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apache depends on:
ii  apache-common             1.3.33-6sarge3 support files for all Apache webse
ii  debconf                   1.5.3          Debian configuration management sy
ii  dpkg                      1.10.28        Package maintenance system for Deb
ii  libc6                     2.3.6.ds1-4    GNU C Library: Shared libraries
ii  libdb4.2                  4.2.52-18      Berkeley v4.2 Database Libraries [
ii  libexpat1                 1.95.8-3       XML parsing C library - runtime li
ii  libmagic1                 4.12-1         File type determination library us
ii  logrotate                 3.7-5          Log rotation utility
ii  mime-support              3.37-1         MIME files 'mime.types' & 'mailcap
ii  perl                      5.8.4-8sarge5  Larry Wall's Practical Extraction 

apache recommends no packages.

- -- debconf information:
* apache/enable-suexec: false
  apache/server-name: localhost
  apache/document-root: /var/www
  apache/server-port: 80
  apache/init: true
  apache/server-admin: bmork@nextra.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFE/UZJ10rqkowbIskRAiFpAJ91Vetd8osgsmqrncwOJsEnQNiVyACfXyj0
IxkGUCUtMVieRkFDusQQJ2I=
=78FY
-----END PGP SIGNATURE-----



Reply to: