Your message dated Tue, 25 Jan 2005 07:47:17 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#291700: 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; 22 Jan 2005 14:54:00 +0000
>From [EMAIL PROTECTED] Sat Jan 22 06:54:00 2005
Return-path: <[EMAIL PROTECTED]>
Received: from keid.carnet.hr [161.53.160.10]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CsMeG-0002KU-00; Sat, 22 Jan 2005 06:54:00 -0800
Received: from joy by keid.carnet.hr with local (Exim 4.34)
id 1CsMeD-0003II-6m
for [EMAIL PROTECTED]; Sat, 22 Jan 2005 15:53:57 +0100
Date: Sat, 22 Jan 2005 15:53:57 +0100
To: [EMAIL PROTECTED]
Subject: broken check for "peer" prevents startup
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040722i
From: Josip Rodin <[EMAIL PROTECTED]>
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:
Package: postgresql
Version: 7.2.1-2woody6
Severity: serious
Tags: patch
Hi,
The check for "peer" database type in
/usr/lib/postgresql/bin/postgresql-startup is not strict enough and it
catches databases that just so happen to be called -- "peer".
Please fix the regexp match to include a $ at the end so that it only
matches "peer" in the last element. That is:
--- /usr/lib/postgresql/bin/postgresql-startup~ Tue Oct 26 22:58:08 2004
+++ /usr/lib/postgresql/bin/postgresql-startup Sat Jan 22 15:52:01 2005
@@ -103,7 +103,7 @@
fi
fi
-if grep -qs '^local.*[ ]*peer[ ]' /etc/postgresql/pg_hba.conf
+if grep -qs '^local.*[ ]*peer[ ]$' /etc/postgresql/pg_hba.conf
then
echo "Invalid pg_hba.conf authentication spec. Change all occurrences
of
peer authentication to ident in /etc/postgresql/pg_hba.conf."
TIA.
--
2. That which causes joy or happiness.
---------------------------------------
Received: (at 291700-close) by bugs.debian.org; 25 Jan 2005 12:54:04 +0000
>From [EMAIL PROTECTED] Tue Jan 25 04:54:04 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 1CtQCp-0005Co-00; Tue, 25 Jan 2005 04:54:03 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CtQ6H-00065R-00; Tue, 25 Jan 2005 07:47:17 -0500
From: Martin Pitt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#291700: 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: 4
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]