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

Bug#412602: marked as done (apache2.2-common: a2enmod doesn't know about apache2-mpm-itk -- breaks mod_cgi by default)



Your message dated Sun, 10 Jun 2007 17:47:04 +0000
with message-id <E1HxRVI-0002Kw-JT@ries.debian.org>
and subject line Bug#412602: fixed in apache2 2.2.3-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apache2.2-common
Version: 2.2.3-3.3
Severity: important
Tags: patch

Hi,

a2enmod has the following snippet:

  #figure out if we're on a prefork or threaded mpm
  if [ -x /usr/sbin/apache2 ]; then
          PREFORK=`/usr/sbin/apache2 -l | grep prefork || true`
  fi

This assumes that anything that isn't prefork is threaded; among other
things, it enables mod_cgid instead of mod_cgi. However, mpm-itk also
isn't threaded, and it definitely can't handle mod_cgid (any CGI script
fails with a permission denied on the CGI socket). The correct snippet
would be

  #figure out if we're on a prefork or threaded mpm
  if [ -x /usr/sbin/apache2 ]; then
          PREFORK=`/usr/sbin/apache2 -l | grep -E 'prefork|itk' || true`
  fi

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)

Versions of packages apache2.2-common depends on:
ii  apache2-utils                 2.2.3-3.3  utility programs for webservers
ii  libmagic1                     4.17-5     File type determination library us
ii  lsb-base                      3.1-23     Linux Standard Base 3.1 init scrip
ii  mime-support                  3.39-1     MIME files 'mime.types' & 'mailcap
ii  net-tools                     1.60-17    The NET-3 networking toolkit
ii  procps                        1:3.2.7-3  /proc file system utilities

apache2.2-common recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: apache2
Source-Version: 2.2.3-5

We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:

apache2-doc_2.2.3-5_all.deb
  to pool/main/a/apache2/apache2-doc_2.2.3-5_all.deb
apache2-mpm-event_2.2.3-5_i386.deb
  to pool/main/a/apache2/apache2-mpm-event_2.2.3-5_i386.deb
apache2-mpm-perchild_2.2.3-5_all.deb
  to pool/main/a/apache2/apache2-mpm-perchild_2.2.3-5_all.deb
apache2-mpm-prefork_2.2.3-5_i386.deb
  to pool/main/a/apache2/apache2-mpm-prefork_2.2.3-5_i386.deb
apache2-mpm-worker_2.2.3-5_i386.deb
  to pool/main/a/apache2/apache2-mpm-worker_2.2.3-5_i386.deb
apache2-prefork-dev_2.2.3-5_i386.deb
  to pool/main/a/apache2/apache2-prefork-dev_2.2.3-5_i386.deb
apache2-src_2.2.3-5_all.deb
  to pool/main/a/apache2/apache2-src_2.2.3-5_all.deb
apache2-threaded-dev_2.2.3-5_i386.deb
  to pool/main/a/apache2/apache2-threaded-dev_2.2.3-5_i386.deb
apache2-utils_2.2.3-5_i386.deb
  to pool/main/a/apache2/apache2-utils_2.2.3-5_i386.deb
apache2.2-common_2.2.3-5_i386.deb
  to pool/main/a/apache2/apache2.2-common_2.2.3-5_i386.deb
apache2_2.2.3-5.diff.gz
  to pool/main/a/apache2/apache2_2.2.3-5.diff.gz
apache2_2.2.3-5.dsc
  to pool/main/a/apache2/apache2_2.2.3-5.dsc
apache2_2.2.3-5_all.deb
  to pool/main/a/apache2/apache2_2.2.3-5_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 412602@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefan Fritsch <sf@debian.org> (supplier of updated apache2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


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

Format: 1.7
Date: Sun, 10 Jun 2007 18:54:29 +0200
Source: apache2
Binary: apache2-utils apache2-prefork-dev apache2 apache2-mpm-prefork apache2-doc apache2-mpm-event apache2.2-common apache2-mpm-worker apache2-src apache2-threaded-dev apache2-mpm-perchild
Architecture: source all i386
Version: 2.2.3-5
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Stefan Fritsch <sf@debian.org>
Description: 
 apache2    - Next generation, scalable, extendable web server
 apache2-doc - documentation for apache2
 apache2-mpm-event - Event driven model for Apache HTTPD
 apache2-mpm-perchild - Transitional package - please remove
 apache2-mpm-prefork - Traditional model for Apache HTTPD
 apache2-mpm-worker - High speed threaded model for Apache HTTPD
 apache2-prefork-dev - development headers for apache2
 apache2-src - Apache source code
 apache2-threaded-dev - development headers for apache2
 apache2-utils - utility programs for webservers
 apache2.2-common - Next generation, scalable, extendable web server
Closes: 312385 322385 390348 391813 396162 397789 399043 400981 401053 403682 407307 412407 412580 412602 413727 416322 418464 419552 420101 422589 423653 428058
Changes: 
 apache2 (2.2.3-5) unstable; urgency=low
 .
   [ Tollef Fog Heen ]
   * Fix up apache2-src so the .tar.gz contains an apache2 top level
     directory.
   * Make apache2 MPMs provide and conflict with apache2-mpm so other
     packages can provide MPMs too.
   * Get rid of 2.1 references from descriptions.  (Closes: #400981)
 .
   [ Thom May ]
   * Let the init script cope with multiple pid files correctly. Probably we
     shouldn't be doing this at all, but we might as well do it properly!
     (Closes: #396162)
   * Add a sensible autoindex default config
   * Add patch from upstream to ensure that mod_cgi 500 responses aren't
     truncated (Closes: #412580)
   * Use graceful-stop to shutdown apache to ensure we cope nicely with long
     running or blocked children
 .
   [ Peter Samuelson ]
   * Ship apache2 manpage in apache2.2-common.  (Closes: #391813)
   * Rearrange init script so that 'force-reload' is the same as 'reload'.
     (Closes: #401053)
   * Add Build-Depends: mawk.  (Closes: #403682)
   * Add a needed <IfModule mod_include.c> guard to apache2.conf.
     (Closes: #407307)
   * Stop shipping /var/run/apache2/ as it is created at runtime anyway.
   * Move the /var/lock/apache2 owner fix from the apache2.2-common
     postinst to the init script, as /var/lock may not persist across
     reboots.  (Closes: #420101)
 .
   [ Stefan Fritsch ]
   * Add Build-Depends: libssl-dev, zlib1g-dev (Closes: #399043)
   * Add XS-Vcs-* to debian/control
   * Improve handling of empty $MODNAME in a2enmod (Closes: #422589)
   * Treat apache2-mpm-itk as prefork in a2enmod (Closes: #412602)
   * Re-add README.Debian and describe
     - the config dir layout (closes: #419552)
     - which files are ignored by Include
     - when and how to change "restart" to "reload" in the logrotate script
   * When purging, remove {mods,sites}-enabled symlinks and the config files
     created by postinst (Closes: #397789)
   * Fix suexec to log after a cgi error (Closes: #312385)
   * Add watch file
   * Add AddType for .bz2 (Closes: #416322)
   * Make init script messages conform better to policy (Closes: #390348)
     and exit with failure if called with unknown parameter (Closes: #412407)
   * Fix segfault in mod_proxy_ftp when FTP server sends back no spaces
     (Closes: #413727)
   * Ship /etc/apache2/conf.d/apache2-doc (Closes: #418464)
   * Tell the user when selecting cgid instead of cgi (Closes: #428058)
   * Add a2ensite/a2dissite man pages (Closes: #322385)
   * Comment out CacheEnable by default, to prevent filling up /var.
     Document the problem in README.Debian and NEWS.Debian, point to
     htcacheclean and give a warning when doing a2enmod disk_cache
     (Closes: #423653).
   * Add myself to Uploaders.
Files: 
 1149f88537f2bd5d6730ea94e2402885 1210 web optional apache2_2.2.3-5.dsc
 08a525f1c25b529d2d6ee56f7e51babc 109573 web optional apache2_2.2.3-5.diff.gz
 43f72963b9b0f3134746d575eafa8c92 955716 web optional apache2.2-common_2.2.3-5_i386.deb
 8f233ee7aa33f2791da01a98330a00ee 432542 web optional apache2-mpm-worker_2.2.3-5_i386.deb
 4a61e26d4ccdcb3ad5ef62a82b90a048 429252 web optional apache2-mpm-prefork_2.2.3-5_i386.deb
 93b53cd35580df62927ed808c94316b2 433286 web optional apache2-mpm-event_2.2.3-5_i386.deb
 1ee52e2ab686315b4a392af467d87f76 341078 web optional apache2-utils_2.2.3-5_i386.deb
 1f257d1af6ac5f6adce0e6ce62072877 407100 devel optional apache2-prefork-dev_2.2.3-5_i386.deb
 fd01d0d5ce29fa237bada7e281117ea5 407712 devel optional apache2-threaded-dev_2.2.3-5_i386.deb
 f91f049265ea00d9f4f443145cfc56b7 273524 web optional apache2-mpm-perchild_2.2.3-5_all.deb
 f7894b465368d77d63aa02a620abb026 40234 web optional apache2_2.2.3-5_all.deb
 c874666076e8fb1a53c57cf78b6c310c 2207048 doc optional apache2-doc_2.2.3-5_all.deb
 c87277222494a759fbf2643f119dc2f5 6614392 devel extra apache2-src_2.2.3-5_all.deb

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

iD8DBQFGbDWabxelr8HyTqQRAtNmAJ9XIFmDqda7rHT4s1u0/L9ebwEYbQCeMIMW
o3Wa75pcKtaw8aRZMk1lV6M=
=UbJd
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: