Your message dated Tue, 25 Jan 2005 07:47:17 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#290544: fixed in postgresql 7.4.6-7
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; 14 Jan 2005 18:57:22 +0000
>From [EMAIL PROTECTED] Fri Jan 14 10:57:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from roxane.home-dn.net [194.146.227.112] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CpWdN-0008EI-00; Fri, 14 Jan 2005 10:57:22 -0800
Received: from localhost (localhost [127.0.0.1])
        by roxane.home-dn.net (Postfix) with ESMTP id 4E7B044042
        for <[EMAIL PROTECTED]>; Fri, 14 Jan 2005 19:57:26 +0100 (CET)
Received: from roxane.home-dn.net ([127.0.0.1])
        by localhost (roxane [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id 29856-07; Fri, 14 Jan 2005 19:57:24 +0100 (CET)
Received: from ragueneau.home-dn.net (cyrano.home-dn.net [80.65.224.56])
        by roxane.home-dn.net (Postfix) with ESMTP id 9FF0C4401E;
        Fri, 14 Jan 2005 19:57:24 +0100 (CET)
Received: by ragueneau.home-dn.net (Postfix, from userid 1013)
        id 7992A380A4; Fri, 14 Jan 2005 19:57:20 +0100 (CET)
Date: Fri, 14 Jan 2005 19:57:20 +0100
From: Emmanuel Lacour <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: Wrong usage of $2 in the do_upgrade function of postinst
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z"
Content-Disposition: inline
X-Reportbug-Version: 3.5
User-Agent: Mutt/1.5.6+20040907i
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: 


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: postgresql
Version: 7.4.6-6
Severity: normal
Tags: testing, patch


$2 (old package version) is used in the do_upgrade function to determine
the name of the perserve directory (data.version.save). But global $2
isn't set inside a bash function and so it is empty and produce a
preserve directory equal to "preserve/data..save".

The attached patch fixes this for the unstable version of postgresql.



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages postgresql depends on:
ii  adduser          3.59                    Add and remove users and groups
ii  debconf [debconf 1.4.41                  Debian configuration management sy
ii  debianutils      2.11.2                  Miscellaneous utilities specific t
ii  libc6            2.3.2.ds1-20            GNU C Library: Shared libraries an
ii  libcomerr2       1.35-8                  The Common Error Description libra
ii  libkrb53         1.3.6-1                 MIT Kerberos runtime libraries
ii  libpam0g         0.76-22                 Pluggable Authentication Modules l
ii  libperl5.8       5.8.4-5                 Shared Perl library
ii  libpq3           7.4.6-6                 PostgreSQL C client library
ii  libreadline4     4.3-15                  GNU readline and history libraries
ii  libssl0.9.7      0.9.7e-3                SSL shared libraries
ii  mailx            1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii  postgresql-clien 7.4.6-6                 front-end programs for PostgreSQL
ii  procps           1:3.2.4-1               The /proc file system utilities
ii  python2.3        2.3.4-19                An interactive high-level object-o
ii  ucf              1.13                    Update Configuration File: preserv
ii  zlib1g           1:1.2.2-4               compression library - runtime

-- debconf information excluded

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="postgresql.postinst.diff"

--- /var/lib/dpkg/info/postgresql.postinst      2005-01-02 21:47:32.000000000 
+0100
+++ postgresql.postinst 2005-01-14 19:53:10.000000000 +0100
@@ -528,7 +528,7 @@
        db_get postgresql/upgrade/policy || true
        if [ "$RET" = true ]
        then
-           do_upgrade
+           do_upgrade $1 $2
        else
            echo "
 The newly-installed version of PostgreSQL requires a dump and reload

--Nq2Wo0NMKNjxTN9z--

---------------------------------------
Received: (at 290544-close) by bugs.debian.org; 25 Jan 2005 12:54:07 +0000
>From [EMAIL PROTECTED] Tue Jan 25 04:54:07 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CtQCt-0005Ed-00; Tue, 25 Jan 2005 04:54:07 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1CtQ6H-00065P-00; Tue, 25 Jan 2005 07:47:17 -0500
From: Martin Pitt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#290544: fixed in postgresql 7.4.6-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 25 Jan 2005 07:47:17 -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-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
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: postgresql
Source-Version: 7.4.6-7

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

libecpg-dev_7.4.6-7_i386.deb
  to pool/main/p/postgresql/libecpg-dev_7.4.6-7_i386.deb
libecpg4_7.4.6-7_i386.deb
  to pool/main/p/postgresql/libecpg4_7.4.6-7_i386.deb
libpgtcl-dev_7.4.6-7_i386.deb
  to pool/main/p/postgresql/libpgtcl-dev_7.4.6-7_i386.deb
libpgtcl_7.4.6-7_i386.deb
  to pool/main/p/postgresql/libpgtcl_7.4.6-7_i386.deb
libpq3_7.4.6-7_i386.deb
  to pool/main/p/postgresql/libpq3_7.4.6-7_i386.deb
postgresql-client_7.4.6-7_i386.deb
  to pool/main/p/postgresql/postgresql-client_7.4.6-7_i386.deb
postgresql-contrib_7.4.6-7_i386.deb
  to pool/main/p/postgresql/postgresql-contrib_7.4.6-7_i386.deb
postgresql-dev_7.4.6-7_i386.deb
  to pool/main/p/postgresql/postgresql-dev_7.4.6-7_i386.deb
postgresql-doc_7.4.6-7_all.deb
  to pool/main/p/postgresql/postgresql-doc_7.4.6-7_all.deb
postgresql_7.4.6-7.diff.gz
  to pool/main/p/postgresql/postgresql_7.4.6-7.diff.gz
postgresql_7.4.6-7.dsc
  to pool/main/p/postgresql/postgresql_7.4.6-7.dsc
postgresql_7.4.6-7_i386.deb
  to pool/main/p/postgresql/postgresql_7.4.6-7_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.
Martin Pitt <[EMAIL PROTECTED]> (supplier of updated postgresql 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: Tue, 25 Jan 2005 12:43:35 +0100
Source: postgresql
Binary: postgresql-client libecpg4 libpgtcl-dev libpq3 postgresql-doc 
libecpg-dev postgresql-dev postgresql libpgtcl postgresql-contrib
Architecture: source i386 all
Version: 7.4.6-7
Distribution: unstable
Urgency: medium
Maintainer: Martin Pitt <[EMAIL PROTECTED]>
Changed-By: Martin Pitt <[EMAIL PROTECTED]>
Description: 
 libecpg-dev - development files for ECPG (Embedded PostgreSQL for C)
 libecpg4   - run-time library for ECPG programs
 libpgtcl   - Tcl procedural language, library and front-end for PostgreSQL
 libpgtcl-dev - Tcl library for PostgreSQL - development files
 libpq3     - PostgreSQL C client library
 postgresql - object-relational SQL database management system
 postgresql-client - front-end programs for PostgreSQL
 postgresql-contrib - additional facilities for PostgreSQL
 postgresql-dev - development files for libpq (PostgreSQL library)
 postgresql-doc - documentation for the PostgreSQL database management system
Closes: 286737 290544 291700 291962
Changes: 
 postgresql (7.4.6-7) unstable; urgency=medium
 .
   * Urgency medium since this fixes (only) RC and important bugs.
   * Dropped obsolete patch 04doc_src_sgml_Makefile
   * Dropped now obsolete build dependency "mmv" again
   * postinst.in: correct argument passing to do_upgrade() function.
     Closes: #290544
   * postgresql-startup.in: Remove broken check for obsolete "peer"
     authentication method; this was already obsolete and checked in Woody, so
     we can assume it is correct now. Closes: #291700
   * Fixed handling of temporary files (partly security relevant), thanks a lot
     to Javier Fernández-Sanguino Peña for spotting these. Closes: #291962
     - debian/postgresql-dump.in: remove creation/deletion of TMPFILE, it is
       not used any more
     - debian/enable_lang.in, debian/preinst.in: eliminate usage of temporary
       files, replaced by variables
     - debian/postinst.in:
       + use mktemp switch -t
       + tighten permissions of $MAILFILE, $TMPFILE, and $SCRIPTFILE
       + replaced some TMPFILE usage with variables
     - Added patch 15secure_tempfiles which fixes relevant issues in upstream
       build files:
       + src/backend/catalog/genbki.sh: use mktemp
       + src/test/bench/perquery: eliminate tempfile, use pipe instead
     - All other files mentioned in the bug report are not used for building
       postgresql. pg_upgrade is not shipped, so does not need to be fixed as
       well.
    * Create the default log directory world-readable again and also with
      setgid postgres (2775) to comply with Debian Policy. Since the directory
      is not touched if it already exists, administrator can easily change the
      permissions afterwards (some people want to have it non-world-readable).
      Closes: #286737
    * Moved newer libpq.mo translations out of postgresql into libpq3, where
      they belong. libpq3 now Conflicts: to postgresql << 7.4.6-7.
    * debian/control: set Martin as primary maintainer and Oliver as
      Comaintainer
Files: 
 4b7413635dc0861cb7e5506d1a3cc386 973 misc optional postgresql_7.4.6-7.dsc
 c8ff0a20a539575ced3661735429a293 146273 misc optional 
postgresql_7.4.6-7.diff.gz
 7a343a688236cccb211b1dcaa8699e34 2386150 doc optional 
postgresql-doc_7.4.6-7_all.deb
 d35c34a3da6526bd9b08bde3767a74c2 3753180 misc optional 
postgresql_7.4.6-7_i386.deb
 42903e35dfc025b2b89589bb2dc795ea 536636 misc optional 
postgresql-client_7.4.6-7_i386.deb
 f67763214163c3b76c2a928fc67a7561 511142 libdevel optional 
postgresql-dev_7.4.6-7_i386.deb
 363168a269ae55eaf20eceda1a76c88b 123790 libs optional libpq3_7.4.6-7_i386.deb
 ad365380a7bec248147eff73c927413d 92900 libs optional libecpg4_7.4.6-7_i386.deb
 f2c2084c1245ee4250bfae82849d9096 204322 libdevel optional 
libecpg-dev_7.4.6-7_i386.deb
 9bdce4e027d5e11a332ab4351eaf2c9f 74834 libs optional libpgtcl_7.4.6-7_i386.deb
 77b1a35a6f48793698f613dad855d954 52650 libdevel optional 
libpgtcl-dev_7.4.6-7_i386.deb
 39f35422885185a7a77b6942e91f73f0 619068 misc optional 
postgresql-contrib_7.4.6-7_i386.deb

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

iD8DBQFB9jyRDecnbV4Fd/IRAvJoAJ9N54vfvEnEeZ08XYfJZQOaebiTPwCgle5l
OzI9Ta40iFcs/uLAUE0HRbk=
=pa+4
-----END PGP SIGNATURE-----


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

Reply via email to