Bug#258145: marked as done (postinst: lossage with "a2enmod userdir")
Your message dated Thu, 08 Jul 2004 07:02:11 -0400
with message-id <E1BiWfL-0002FS-00@newraff.debian.org>
and subject line Bug#258145: fixed in apache2 2.0.50-2
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; 7 Jul 2004 21:20:52 +0000
>From amu@ucko.debian.net Wed Jul 07 14:20:52 2004
Return-path: <amu@ucko.debian.net>
Received: from smtp03.mrf.mail.rcn.net [207.172.4.62]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BiJqW-0003mI-00; Wed, 07 Jul 2004 14:20:52 -0700
Received: from 216-15-37-107.c3-0.161-ubr3.lnh-161.md.cable.rcn.com ([216.15.37.107] helo=tux.internal.ucko.debian.net)
by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.35 #7)
id 1BiJqV-0005ZM-00
for submit@bugs.debian.org; Wed, 07 Jul 2004 17:20:51 -0400
Received: from amu by tux.internal.ucko.debian.net with local (Exim 4.34)
id 1BiJqV-0003rj-Ch
for submit@bugs.debian.org; Wed, 07 Jul 2004 17:20:51 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Aaron M. Ucko" <ucko@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: postinst: lossage with "a2enmod userdir"
X-Mailer: reportbug 2.63
Date: Wed, 07 Jul 2004 17:20:51 -0400
X-Debbugs-Cc: ucko@debian.org
Message-Id: <[🔎] E1BiJqV-0003rj-Ch@tux.internal.ucko.debian.net>
Sender: "Aaron M. Ucko" <amu@ucko.debian.net>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: amu@ucko.debian.net
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: apache2-common
Version: 2.0.50-1
Severity: important
apache2-common.postinst contains an unconditional call to
a2enmod userdir
, which is prone to failure for various reasons. The main problem is
that it is not idempotent, as a2enmod exits with status 1 if the
module is already enabled; please either fix it to exit 0 in that case
or run a2enmod only if /etc/apache2/mods-enabled/userdir.load doesn't
already exist. (The call should probably also be conditional on
upgrading from versions prior to 2.0.50-1, for the sake of weird
administrators who don't actually want to enable the module.)
In addition, a2enmod failed the first time around because I'd already
symlinked userdir.conf over; perhaps it should run "ln -sf" rather
than just "ln -s".
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages apache2-common depends on:
ii debconf 1.4.29 Debian configuration management sy
ii debianutils 2.8.3 Miscellaneous utilities specific t
ii libapr0 2.0.50-1 The Apache Portable Runtime
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libldap2 2.1.30-1 OpenLDAP libraries
ii libmagic1 4.09-1 File type determination library us
ii libssl0.9.7 0.9.7d-3 SSL shared libraries
ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-10 The NET-3 networking toolkit
ii openssl 0.9.7d-3 Secure Socket Layer (SSL) binary a
ii ssl-cert 1.0-8 Simple debconf wrapper for openssl
ii zlib1g 1:1.2.1.1-3 compression library - runtime
-- no debconf information
---------------------------------------
Received: (at 258145-close) by bugs.debian.org; 8 Jul 2004 11:08:03 +0000
>From katie@ftp-master.debian.org Thu Jul 08 04:08:03 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BiWl1-00018o-00; Thu, 08 Jul 2004 04:08:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1BiWfL-0002FS-00; Thu, 08 Jul 2004 07:02:11 -0400
From: Thom May <thom@debian.org>
To: 258145-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#258145: fixed in apache2 2.0.50-2
Message-Id: <E1BiWfL-0002FS-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 08 Jul 2004 07:02:11 -0400
Delivered-To: 258145-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Source: apache2
Source-Version: 2.0.50-2
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.50-2_sparc.deb
to pool/main/a/apache2/apache2-common_2.0.50-2_sparc.deb
apache2-doc_2.0.50-2_all.deb
to pool/main/a/apache2/apache2-doc_2.0.50-2_all.deb
apache2-mpm-perchild_2.0.50-2_sparc.deb
to pool/main/a/apache2/apache2-mpm-perchild_2.0.50-2_sparc.deb
apache2-mpm-prefork_2.0.50-2_sparc.deb
to pool/main/a/apache2/apache2-mpm-prefork_2.0.50-2_sparc.deb
apache2-mpm-threadpool_2.0.50-2_sparc.deb
to pool/main/a/apache2/apache2-mpm-threadpool_2.0.50-2_sparc.deb
apache2-mpm-worker_2.0.50-2_sparc.deb
to pool/main/a/apache2/apache2-mpm-worker_2.0.50-2_sparc.deb
apache2-prefork-dev_2.0.50-2_all.deb
to pool/main/a/apache2/apache2-prefork-dev_2.0.50-2_all.deb
apache2-threaded-dev_2.0.50-2_all.deb
to pool/main/a/apache2/apache2-threaded-dev_2.0.50-2_all.deb
apache2_2.0.50-2.diff.gz
to pool/main/a/apache2/apache2_2.0.50-2.diff.gz
apache2_2.0.50-2.dsc
to pool/main/a/apache2/apache2_2.0.50-2.dsc
apache2_2.0.50-2_sparc.deb
to pool/main/a/apache2/apache2_2.0.50-2_sparc.deb
libapr0-dev_2.0.50-2_sparc.deb
to pool/main/a/apache2/libapr0-dev_2.0.50-2_sparc.deb
libapr0_2.0.50-2_sparc.deb
to pool/main/a/apache2/libapr0_2.0.50-2_sparc.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 258145@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thom May <thom@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: Wed, 7 Jul 2004 23:03:36 +0100
Source: apache2
Binary: apache2 apache2-prefork-dev apache2-mpm-prefork apache2-doc libapr0-dev apache2-mpm-threadpool apache2-mpm-worker libapr0 apache2-threaded-dev apache2-common apache2-mpm-perchild
Architecture: source all sparc
Version: 2.0.50-2
Distribution: unstable
Urgency: high
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Thom May <thom@debian.org>
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-threadpool - Experimental High speed thread pool 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
libapr0 - The Apache Portable Runtime
libapr0-dev - Development headers for libapr
Closes: 258145 258149
Changes:
apache2 (2.0.50-2) unstable; urgency=high
.
* Make a2enmod a bit more robust (Closes: #258149, #258145)
* Should really be urgency=high to get into testing quick
Files:
5830b52d8af9f4e2c8fc1a1e79c84b22 1725 net optional apache2_2.0.50-2.dsc
f46c31e13736afd03d17e1248a83af47 95614 net optional apache2_2.0.50-2.diff.gz
a8a632b935615b7a3be8f85c27ea2467 3175266 doc optional apache2-doc_2.0.50-2_all.deb
640eded6becb3f5a2a80bd72e1690962 160192 devel optional apache2-prefork-dev_2.0.50-2_all.deb
68b707cac98430d4c35fafaa452d04ad 161582 devel optional apache2-threaded-dev_2.0.50-2_all.deb
faace6ba65ac72e270e3bb6f2e900631 833720 net optional apache2-common_2.0.50-2_sparc.deb
709c513a5e0c5acfa771ca0ca5b51325 208792 net optional apache2-mpm-worker_2.0.50-2_sparc.deb
1ca22d2b58d891ac545f1baeba121a79 230128 net optional apache2-mpm-threadpool_2.0.50-2_sparc.deb
649afc1988913e7333cea054b6bdb679 233036 net optional apache2-mpm-perchild_2.0.50-2_sparc.deb
14d696b9f63fbc0447001bdcfbe67223 227534 net optional apache2-mpm-prefork_2.0.50-2_sparc.deb
0330a039123dc6446e683032d653a77d 116930 net optional libapr0_2.0.50-2_sparc.deb
8488b208342f33c6c08f23c890cf82c5 254666 libdevel optional libapr0-dev_2.0.50-2_sparc.deb
145bb48a33f0966c4c2ad5f8207cf2f3 27094 web optional apache2_2.0.50-2_sparc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQIVAwUBQO0kWbVnlGdHP376AQJE+g/9H9+ASm1oAMrXg19aN8WEGfaGctBZM9qI
r+HPZPoLi5FXI8t6JOcccjOhaaaZr7m+bFKmAhKHRIue+emhLl6YEGtdnHPUycPg
g98t0ErXuKvqzJWkTVP/OQtd0hplriSsbCbBZM7VDWuD/bnOdkvi3zNxw1I34zyc
i19Vki6OFEBhXOXnMqWQERXgnZkF3js2Gb5/pSXCX386wSanWfHtoZS0GNSuJBF1
L2YREpfNocz6fHcBBefAYG9aEWPzE0Iug+JUmcdfrhfsILJrcZEt8T+wNq0ffLTh
NK7tW6G/uMjMV20XseehXYpUiQProu4kxrHRNQAYMc1Kacvy3MTQAqgOYUa9T9Dr
Pzk28bIOkjZzk/4zdShuSYxOYl3c5Cjoam6Fgh9FoTvz9Y33lklkqEBPN9wQa749
FUgk4nYIdfBt5hClna9dq5MEjBJqKjTN789cpoSKevxjr9d0Fc+kvS/ZP6Ui4Yyw
t0XwSb8nx8v4YoyYQm854m7Oz3dXyIqasMMhsu3yutGexqhlsItqhZVmi/aSNUYq
Zsl6nldJsqIjV0SDgcDiFIQzbaQdxMeRVQsrk+8bdi1heuA/QSI2ygqxlRdRye/i
w+YOfzy5Ni1EmxaArFLpTmnC8BhqDjArxFzDrrhloHtgUsg8lmw73/xSY2peBq5B
Rxu38N9sot8=
=oZET
-----END PGP SIGNATURE-----
Reply to: