Your message dated Mon, 06 Feb 2006 14:47:14 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#351475: fixed in postgresql-common 42
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 ---
>From [EMAIL PROTECTED] Sat Feb 04 20:27:32 2006
Received: (at submit) by bugs.debian.org; 5 Feb 2006 04:27:32 +0000
Return-path: <[EMAIL PROTECTED]>
Received: from rozz.csail.mit.edu ([128.30.2.16] ident=mail)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1F5bUq-0001pr-3W
        for [EMAIL PROTECTED]; Sat, 04 Feb 2006 20:27:32 -0800
Received: from c-24-61-30-248.hsd1.ma.comcast.net ([24.61.30.248] 
helo=kleph.csail.mit.edu)
        by rozz.csail.mit.edu with esmtpsa (TLSv1:AES256-SHA:256)
        (Exim 4.50)
        id 1F5bUo-0005Xd-MJ
        for [EMAIL PROTECTED]; Sat, 04 Feb 2006 23:27:30 -0500
Received: from cph by kleph.csail.mit.edu with local (Exim 4.60)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1F5bUo-00053a-Dy
        for [EMAIL PROTECTED]; Sat, 04 Feb 2006 23:27:30 -0500
From: Chris Hanson <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: postgresql-common: postinst fails on upgrade
X-Debbugs-CC: Chris Hanson <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 04 Feb 2006 23:27:30 -0500
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=-10.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        RCVD_IN_SORBS,X_DEBBUGS_CC autolearn=ham 
        version=2.60-bugs.debian.org_2005_01_02

Package: postgresql-common
Version: 41
Severity: important
Tags: patch

A recent change in lsb-base 3.0-15 causes the postinst to fail.  The
failure is silent, but a little shell tracing reveals the problem:

    ++ sh /usr/share/postgresql-common/supported-versions
    + type -p lsb_release
    ++ lsb_release -is
    + DISTRO=Debian
    ++ lsb_release -rs
    + RELEASE=unstable
    + case "$DISTRO" in
    + lsb_debian unstable
    + case "$1" in
    + echo 'Unknown Debian release: unstable'
    + exit 1
    + SUPPORTED='Unknown Debian release: unstable'
    dpkg: error processing postgresql-common (--configure):
     subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
     postgresql-common

Here's a patch that works in sid.  It's not a complete patch; I think
some special handling may be needed for etch, too.

kleph:1# diff -u supported-versions.~1~ supported-versions
--- supported-versions.~1~      2006-01-27 09:50:34.000000000 -0500
+++ supported-versions  2006-02-04 23:15:51.000000000 -0500
@@ -22,7 +22,7 @@
 
 lsb_debian() {
     case "$1" in
-        testing/unstable)
+        testing/unstable | unstable)
             echo -e "7.4\n8.1"
             ;;
         3.1)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1-cph1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages postgresql-common depends on:
ii  adduser                       3.81       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.70     Debian configuration management sy
ii  lsb-base                      3.0-15     Linux Standard Base 3.0 init scrip

Versions of packages postgresql-common recommends:
ii  openssl                       0.9.8a-6   Secure Socket Layer (SSL) binary a

-- debconf information:
* postgresql-common/obsolete-major:


--- End Message ---
--- Begin Message ---
>From [EMAIL PROTECTED] Mon Feb 06 14:51:25 2006
Received: (at 351475-close) by bugs.debian.org; 6 Feb 2006 22:51:25 +0000
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1F6F8c-0005Uo-E2; Mon, 06 Feb 2006 14:47:14 -0800
From: Martin Pitt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#351475: fixed in postgresql-common 42
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 06 Feb 2006 14:47:14 -0800
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: postgresql-common
Source-Version: 42

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

postgresql-common_42.dsc
  to pool/main/p/postgresql-common/postgresql-common_42.dsc
postgresql-common_42.tar.gz
  to pool/main/p/postgresql-common/postgresql-common_42.tar.gz
postgresql-common_42_all.deb
  to pool/main/p/postgresql-common/postgresql-common_42_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Pitt <[EMAIL PROTECTED]> (supplier of updated postgresql-common 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: Sun,  5 Feb 2006 12:36:53 +0000
Source: postgresql-common
Binary: postgresql-common
Architecture: source all
Version: 42
Distribution: unstable
Urgency: low
Maintainer: Martin Pitt <[EMAIL PROTECTED]>
Changed-By: Martin Pitt <[EMAIL PROTECTED]>
Description: 
 postgresql-common - manager for PostgreSQL database clusters
Closes: 351475
Changes: 
 postgresql-common (42) unstable; urgency=low
 .
   * PgCommon.pm, change_ugid(): Implement initgroups() like behaviour to allow
     running the postmaster in auxiliary groups. This is necessary for e. g.
     reading shared SSL certificates.
   * t/TestLib.pm, exec_as(): Also change group id, in order to be able to read
     SSL certificates which are only group readable (which previously caused
     the test suite to fail).
   * debian/supported-versions: Add lsb_release output case 'unstable' to cope
     with recent lsb-release change. Closes: #351475
Files: 
 bad09685acc4fda8b2ebdfbfc05ffb87 578 misc optional postgresql-common_42.dsc
 6fd8320bc34689229df19d44066fd49b 65447 misc optional 
postgresql-common_42.tar.gz
 3ae7d85979c2b830368186ade02f4140 86132 misc optional 
postgresql-common_42_all.deb

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

iD8DBQFD59FFDecnbV4Fd/IRAvK2AJ9c3/yducE9Dp73UW/ZwHv0haHYgwCfSKUA
i2P6V00JwRrIXRVa+PuBD30=
=aO97
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to