Your message dated Sat, 22 Oct 2005 18:47:11 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303076: fixed in apache2 2.0.55-1
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Apr 2005 18:06:02 +0000
>From [EMAIL PROTECTED] Mon Apr 04 11:06:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gluck.debian.org [192.25.206.10] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DIVxa-0002vb-00; Mon, 04 Apr 2005 11:06:02 -0700
Received: from smtp.netsonic.fi [194.29.192.26] 
        by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DIVxZ-0000nt-00; Mon, 04 Apr 2005 12:06:01 -0600
Received: from varma.munkka (wire156.adsl.netsonic.fi [81.17.199.156])
        by smtp.netsonic.fi (Postfix) with ESMTP id 041F91F8036
        for <[EMAIL PROTECTED]>; Mon,  4 Apr 2005 20:40:27 +0300 (EEST)
Received: from trkr by varma.munkka with local (Exim 3.36 #1 (Debian))
        id 1DIVYo-0006j3-00
        for <[EMAIL PROTECTED]>; Mon, 04 Apr 2005 20:40:26 +0300
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Janne Peltonen <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: apache2-common: false logic in /etc/init.d/apache2 in deciding which 
PidFile
 directive is being used
X-Mailer: reportbug 3.8
Date: Mon, 04 Apr 2005 20:40:26 +0300
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: apache2-common
Severity: important

In apache2-common 2.0.53-5, the /etc/init.d/apache2-script tries to
decide the PidFile directive Apache actually uses. Like this:

        # let's try to find the pid file
        # apache2 allows more than PidFile entry in the config but only
        # the last found in the config is used
        for PFILE in `grep ^PidFile /etc/apache2/* -r | awk '{print $2}'`; do
                PIDFILE="$PFILE"
                if [ -e "$PIDFILE" ]; then
                        PID=`cat $PIDFILE`
                fi
        done

There is a logical failure in this. This way, the PidFile that is the
last one in the alphabetically last config file in /etc/apache2 or any of
its subdirectories gets to be PIDFILE's content - whether or not apache
actually ever uses that config file! It might be, and actually probably
is, a file in sites-available that is never linked to in sites-enabled. And
if there are backup-files, they come alphabetically later than the actual
config file. Or it might be any file that just happens to be in the
directory, maybe because of an earlier installation, and is not included
from anywhere.

This bug bit me after the last upgrade: we have a custom logrotate-script
that tries to run /etc/init.d/apache2 restart. And we had an httpd.conf
file in /etc/apache2/sites-available that contained the config of an
earlier installation. And a false PidFile directive. Result: apache
didn't get restarted after logrotate, just kept on running, with false
references to logfiles. So we lost quite a bit of log... This is just
to tell why I think this bug important.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-xenU

---------------------------------------
Received: (at 303076-close) by bugs.debian.org; 23 Oct 2005 01:48:09 +0000
>From [EMAIL PROTECTED] Sat Oct 22 18:48:09 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ETUx5-00060A-00; Sat, 22 Oct 2005 18:47:11 -0700
From: Adam Conrad <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#303076: fixed in apache2 2.0.55-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 22 Oct 2005 18:47:11 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: apache2
Source-Version: 2.0.55-1

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-common_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-common_2.0.55-1_i386.deb
apache2-doc_2.0.55-1_all.deb
  to pool/main/a/apache2/apache2-doc_2.0.55-1_all.deb
apache2-mpm-perchild_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-perchild_2.0.55-1_i386.deb
apache2-mpm-prefork_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-prefork_2.0.55-1_i386.deb
apache2-mpm-worker_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-worker_2.0.55-1_i386.deb
apache2-prefork-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-prefork-dev_2.0.55-1_i386.deb
apache2-threaded-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-threaded-dev_2.0.55-1_i386.deb
apache2-utils_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-utils_2.0.55-1_i386.deb
apache2_2.0.55-1.diff.gz
  to pool/main/a/apache2/apache2_2.0.55-1.diff.gz
apache2_2.0.55-1.dsc
  to pool/main/a/apache2/apache2_2.0.55-1.dsc
apache2_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2_2.0.55-1_i386.deb
apache2_2.0.55.orig.tar.gz
  to pool/main/a/apache2/apache2_2.0.55.orig.tar.gz
libapr0-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/libapr0-dev_2.0.55-1_i386.deb
libapr0_2.0.55-1_i386.deb
  to pool/main/a/apache2/libapr0_2.0.55-1_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Conrad <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Mon, 17 Oct 2005 13:00:13 +1000
Source: apache2
Binary: apache2-utils apache2 apache2-prefork-dev apache2-mpm-prefork 
apache2-doc libapr0-dev apache2-mpm-worker libapr0 apache2-threaded-dev 
apache2-common apache2-mpm-perchild
Architecture: source i386 all
Version: 2.0.55-1
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Adam Conrad <[EMAIL PROTECTED]>
Description: 
 apache2    - next generation, scalable, extendable web server
 apache2-common - next generation, scalable, extendable web server
 apache2-doc - documentation for apache2
 apache2-mpm-perchild - experimental high speed perchild threaded model for 
Apache2
 apache2-mpm-prefork - traditional model for Apache2
 apache2-mpm-worker - high speed threaded model for Apache2
 apache2-prefork-dev - development headers for apache2
 apache2-threaded-dev - development headers for apache2
 apache2-utils - utility programs for webservers
 libapr0    - the Apache Portable Runtime
 libapr0-dev - development headers for libapr
Closes: 303076 316303 327269 331741 332791 333363
Changes: 
 apache2 (2.0.55-1) unstable; urgency=low
 .
   * New upstream bugfix and security release, superseding these patches:
     - Drop 041_util_ldap_fix.patch, util_ldap seems to be unbroken.
     - Drop 043_ssl_off_by_one_CAN-2005-1268, fixed upstream.
     - Drop 044_content_length_CAN-2005-2088, fixed upstream.
     - Drop 045_byterange_CAN-2005-2728, fixed upstream.
     - Drop 046_verify_client_CAN-2005-2700, fixed upstream.
     - Add 048_reverse_proxy_fix, to resolve a regression in 2.0.55 with
       mod_proxy, mod_ssl and HTTP POST requests (upstream bug #37145)
   * New release builds cleanly with OpenSSL 0.9.8 (closes: #332791, #333363)
   * Fix up our built-in version of DBS to use find's -{max,min}depth
     arguments in a way that doesn't make find whine like a spoiled child.
   * Merge Ubuntu and Debian packaging, bringing in patch 047 (closes: #327269)
     - Comment out the / -> /apache2-default/ redirect, as user feedback seems
       to indicate that it's just too bloody confusing for most people.
     - New installations (only) now get an AddDefaultCharset UTF-8 directive.
   * Build-depend on lsb-release, and use it in debian/rules to determine which
     distribution we're building on, dropping the 007_debian_advertising patch.
   * Drop debconf dependency entirely; we don't even use it (closes: #331741)
   * Finally support DEB_BUILD_OPTIONS="noopt debug" properly in debian/rules.
   * Adjust mime_magic.conf to point at the new FHS location of magic.mime.
   * Drop the apache2-mpm-threadpool transitional package; Sarge is released.
   * Try a bit harder to find the *CORRECT* PidFile directive in the init
     script, instead of the old "rgrep and pray" method (closes: #303076)
   * Make init script to always use apache2ctl consistently (closes: #316303)
   * Build (and have -dev packages depend on) libdb4.3 instead of libdb4.2.
Files: 
 dfd3a5df3d9065daf362b1985aca1c62 1130 net optional apache2_2.0.55-1.dsc
 45e32c9432a8e3cf4227f5af91b03622 6092031 net optional 
apache2_2.0.55.orig.tar.gz
 9508f1cda90ebf1bf7b57702a7194585 112357 net optional apache2_2.0.55-1.diff.gz
 13b5fa62553998814b07e9097724a85c 2122848 doc optional 
apache2-doc_2.0.55-1_all.deb
 d23c5a40d5e06b1424d557cc846c758c 788176 net optional 
apache2-common_2.0.55-1_i386.deb
 27de0a1560fb9834ed8b3d811ae6df70 90690 net optional 
apache2-utils_2.0.55-1_i386.deb
 f9a2b5228973a8071875c9ef3ec21100 204412 net optional 
apache2-mpm-worker_2.0.55-1_i386.deb
 614f3945feaecf632ab3efc50558b172 204736 net optional 
apache2-mpm-perchild_2.0.55-1_i386.deb
 576abfe89f655c2b8ce861dc1b01ab6f 200826 net optional 
apache2-mpm-prefork_2.0.55-1_i386.deb
 b52a8cf62585527369966d6945476318 169524 devel optional 
apache2-prefork-dev_2.0.55-1_i386.deb
 f9dda52b36249f73d07bfaf3c1dc8056 170296 devel optional 
apache2-threaded-dev_2.0.55-1_i386.deb
 4e6da20013774c583dcbe2e47402c09b 131236 net optional libapr0_2.0.55-1_i386.deb
 38168867bbc6d8732d9deed23699f1dd 262892 libdevel optional 
libapr0-dev_2.0.55-1_i386.deb
 3da2360680d72ec26ba95446b89818e3 34372 web optional apache2_2.0.55-1_i386.deb

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

iD8DBQFDWuSuvjztR8bOoMkRAlrgAJ4gdUgvwf7wlCYvEBeInon2SvDE+QCgksCw
0CagupgQGNdZ/2Q1db+kATE=
=fjvX
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to