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

Bug#258381: marked as done (apache2-common: "a2enmod userdir" in postinst breaks upgrade)



Your message dated Mon, 12 Jul 2004 17:24:53 +0100
with message-id <20040712162453.GA11477@fandango.home.clearairturbulence.org>
and subject line fixed on friday in -2 onwards
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; 9 Jul 2004 07:56:36 +0000
>From roger@wrynose.ukfsn.org Fri Jul 09 00:56:36 2004
Return-path: <roger@wrynose.ukfsn.org>
Received: from s2.ukfsn.org (mail.ukfsn.org) [217.158.120.143] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BiqFI-00035A-00; Fri, 09 Jul 2004 00:56:36 -0700
Received: from localhost (lucy.ukfsn.org [127.0.0.1])
	by mail.ukfsn.org (Postfix) with ESMTP
	id 8A064E6A9D; Fri,  9 Jul 2004 08:55:47 +0100 (BST)
Received: from mail.ukfsn.org ([127.0.0.1])
 by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 29463-16; Fri,  9 Jul 2004 08:55:47 +0100 (BST)
Received: from wrynose (unknown [147.210.68.135])
	by mail.ukfsn.org (Postfix) with ESMTP
	id 5538EE6A90; Fri,  9 Jul 2004 08:55:47 +0100 (BST)
Received: from roger by wrynose with local (Exim 4.34)
	id 1BiqIi-00010A-I5; Fri, 09 Jul 2004 09:00:08 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Roger Leigh <rleigh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache2-common: "a2enmod userdir" in postinst breaks upgrade
X-Mailer: reportbug 2.63
Date: Fri, 09 Jul 2004 09:00:07 +0100
Message-Id: <[🔎] E1BiqIi-00010A-I5@wrynose>
Sender: Roger Leigh <roger@wrynose.ukfsn.org>
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: apache2-common
Version: 2.0.50-2
Severity: normal

This line in apache2-common.postinst breaks upgrades:

    #auto enable mod_userdir, otherwise things will B-R-EAK
    a2enmod userdir

If userdir is already enabled, this returns nonzero and the upgrade is
aborted (this is on a system where I had already manually enabled
userdir by putting a usermod.load symlink in /etc/apache2/mods-enabled).
After the upgrade, I no longer get this behaviour...

I suggest using

    a2enmod userdir || true

to ensure failure does not abort postinst.


Regards,
Roger


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=en_GB, LC_CTYPE=en_GB

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
pn  libapr0                                  Not found.
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 258381-done) by bugs.debian.org; 12 Jul 2004 16:25:14 +0000
>From thom@debian.org Mon Jul 12 09:25:14 2004
Return-path: <thom@debian.org>
Received: from amnesiac.heapspace.net [195.54.228.42] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bk3cA-0006yf-00; Mon, 12 Jul 2004 09:25:14 -0700
Received: from localhost (localhost [127.0.0.1])
	by amnesiac.heapspace.net (Postfix) with ESMTP id 6EB4E57AC;
	Mon, 12 Jul 2004 17:24:54 +0100 (BST)
Received: from amnesiac.heapspace.net ([127.0.0.1])
 by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024)
 with LMTP id 50767-01-14; Mon, 12 Jul 2004 17:24:54 +0100 (BST)
Received: from fandango.home.clearairturbulence.org (dev.bitch-whore.com [213.208.111.147])
	by amnesiac.heapspace.net (Postfix) with ESMTP id 173F257E8;
	Mon, 12 Jul 2004 17:24:54 +0100 (BST)
Received: by fandango.home.clearairturbulence.org (Postfix, from userid 1000)
	id B6D26382E060; Mon, 12 Jul 2004 17:24:53 +0100 (BST)
Date: Mon, 12 Jul 2004 17:24:53 +0100
From: Thom May <thom@debian.org>
To: 258381-done@bugs.debian.org, 258277-done@bugs.debian.org
Subject: fixed on friday in -2 onwards
Message-ID: <20040712162453.GA11477@fandango.home.clearairturbulence.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040523i
X-Virus-Scanned: by amavisd-new at heapspace.net
Delivered-To: 258381-done@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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

These are both fixed in later uploads.
-Thom



Reply to: