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

Bug#435398: marked as done (apache2.2-common: a2dissite should distinguish already disabled and missing sites)



Your message dated Wed, 08 Aug 2007 16:17:04 +0000
with message-id <E1IIoDY-0000jM-JF@ries.debian.org>
and subject line Bug#435398: fixed in apache2 2.2.4-3
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-5
Severity: normal
Tags: patch

a2dissite does not distinguish sites that are already disabled from
those that are missing.  It exits with code 1 in either case, which is
unfortunate for use in postrm scripts and similar situations.  It's
also inconsistent with the other a2* scripts.  Attached is a patch that
improves the behavior.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-k7 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2.2-common depends on:
ii  apache2-utils                 2.2.3-5    utility programs for webservers
ii  libmagic1                     4.21-2     File type determination library us
ii  lsb-base                      3.1-23.1   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
--- a2dissite.orig	2007-07-31 15:29:57.000000000 +0200
+++ a2dissite	2007-07-31 15:31:06.000000000 +0200
@@ -19,7 +19,11 @@
 
 if ! [ -e $SYSCONFDIR/sites-enabled/$SITENAME -o \
        -e $SYSCONFDIR/sites-enabled/"$PRIORITY"-"$SITENAME" ]; then
-	echo "This site is already disabled, or does not exist!"
+	if [ -e $SYSCONFDIR/sites-available/$SITENAME ]; then
+		echo "This site is already disabled!"
+		exit 0
+	fi
+	echo "This site does not exist!"
 	exit 1
 fi
 

--- End Message ---
--- Begin Message ---
Source: apache2
Source-Version: 2.2.4-3

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-dbg_2.2.4-3_i386.deb
  to pool/main/a/apache2/apache2-dbg_2.2.4-3_i386.deb
apache2-doc_2.2.4-3_all.deb
  to pool/main/a/apache2/apache2-doc_2.2.4-3_all.deb
apache2-mpm-event_2.2.4-3_i386.deb
  to pool/main/a/apache2/apache2-mpm-event_2.2.4-3_i386.deb
apache2-mpm-perchild_2.2.4-3_all.deb
  to pool/main/a/apache2/apache2-mpm-perchild_2.2.4-3_all.deb
apache2-mpm-prefork_2.2.4-3_i386.deb
  to pool/main/a/apache2/apache2-mpm-prefork_2.2.4-3_i386.deb
apache2-mpm-worker_2.2.4-3_i386.deb
  to pool/main/a/apache2/apache2-mpm-worker_2.2.4-3_i386.deb
apache2-prefork-dev_2.2.4-3_i386.deb
  to pool/main/a/apache2/apache2-prefork-dev_2.2.4-3_i386.deb
apache2-src_2.2.4-3_all.deb
  to pool/main/a/apache2/apache2-src_2.2.4-3_all.deb
apache2-threaded-dev_2.2.4-3_i386.deb
  to pool/main/a/apache2/apache2-threaded-dev_2.2.4-3_i386.deb
apache2-utils_2.2.4-3_i386.deb
  to pool/main/a/apache2/apache2-utils_2.2.4-3_i386.deb
apache2.2-common_2.2.4-3_i386.deb
  to pool/main/a/apache2/apache2.2-common_2.2.4-3_i386.deb
apache2_2.2.4-3.diff.gz
  to pool/main/a/apache2/apache2_2.2.4-3.diff.gz
apache2_2.2.4-3.dsc
  to pool/main/a/apache2/apache2_2.2.4-3.dsc
apache2_2.2.4-3_all.deb
  to pool/main/a/apache2/apache2_2.2.4-3_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 435398@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: Tue, 07 Aug 2007 20:49:28 +0200
Source: apache2
Binary: apache2-utils apache2-prefork-dev apache2 apache2-mpm-prefork apache2-doc apache2-mpm-event apache2.2-common apache2-dbg apache2-mpm-worker apache2-src apache2-threaded-dev apache2-mpm-perchild
Architecture: source all i386
Version: 2.2.4-3
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-dbg - Apache debugging symbols
 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: 434248 435398 435400 436341
Changes: 
 apache2 (2.2.4-3) unstable; urgency=low
 .
   [ Stefan Fritsch ]
   * enable default site on new installs again (Closes: #436341)
   * make mod_authn_dbd depend on mod_dbd
   * make a2dissite return 0 if a site is already disabled (Closes: #435398)
   * make a2 scripts print errors to stderr (Closes: #435400)
   * move TypesConfig directive from apache2.conf to mime.conf
     (Closes: #434248)
 .
   [ Adam Conrad ]
   * Special case apache2-dbg magic in debian/rules, so we don't do
     this on Ubuntu, which has an archive of detached debug packages.
Files: 
 51d866b2d3d030a98b8d104d4eeba156 1223 web optional apache2_2.2.4-3.dsc
 c9a448ba4d328519f4ed00a59fd6c041 118498 web optional apache2_2.2.4-3.diff.gz
 213872450d83a512606e7a6d9a6ab587 964490 web optional apache2.2-common_2.2.4-3_i386.deb
 7f3ee54ccf70a1bb2613ba7e99963071 437590 web optional apache2-mpm-worker_2.2.4-3_i386.deb
 d7170e48a939cc800a8e728c85b7e382 434014 web optional apache2-mpm-prefork_2.2.4-3_i386.deb
 534025fcb81a32a5a8986b6f3ff190d4 438392 web optional apache2-mpm-event_2.2.4-3_i386.deb
 edac1977f3470ea638032a895074bdd3 345220 web optional apache2-utils_2.2.4-3_i386.deb
 ac5216e260eb3ca33265ecee77ef9779 411240 devel extra apache2-prefork-dev_2.2.4-3_i386.deb
 be501d36c0d8af0cbc7b7d4991f12b59 411920 devel extra apache2-threaded-dev_2.2.4-3_i386.deb
 73ed5b39b425295ed9bcbe6ccb55c09f 2239030 libdevel extra apache2-dbg_2.2.4-3_i386.deb
 bc35377f8e75cf59208e109af8d9565c 277514 web optional apache2-mpm-perchild_2.2.4-3_all.deb
 6a2ff1f9f778997883b9ca02aa7a1ced 41738 web optional apache2_2.2.4-3_all.deb
 2a961d07e8ebd8f12015e0acc461eeaf 2216222 doc optional apache2-doc_2.2.4-3_all.deb
 ed5389a9f1e544209dfe38729879a7d0 6639592 devel extra apache2-src_2.2.4-3_all.deb

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

iD8DBQFGueXkbxelr8HyTqQRAj1wAKCYbm4vWZyy+dYtP5FK+96E6Z1KGgCguspX
f7ShUznjWi6U3nZjZ/8YouY=
=t+PZ
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: