Your message dated Thu, 22 Nov 2012 20:22:17 +0000 with message-id <1353615737.9073.3.camel@jacala.jungle.funky-badger.org> and subject line Re: Bug#693796: unblock: pgpool2/3.1.3-4 has caused the Debian Bug report #693796, regarding unblock: pgpool2/3.1.3-4 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 693796: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693796 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: unblock: pgpool2/3.1.3-4
- From: Christoph Berg <myon@debian.org>
- Date: Tue, 20 Nov 2012 13:33:18 +0100
- Message-id: <[🔎] 20121120123318.GA1551@msgid.df7cb.de>
- Mail-followup-to: Christoph Berg <myon@debian.org>, Debian Bug Tracking System <submit@bugs.debian.org>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package pgpool2. The old version installs a config file unreadable by the postgres user which is used to run pgpool2, rendering the default install unusable. --- pgpool2-3.1.3/debian/changelog 2012-06-11 18:06:24.000000000 +0200 +++ pgpool2-3.1.3/debian/changelog 2012-11-05 11:41:37.000000000 +0100 @@ -1,3 +1,9 @@ +pgpool2 (3.1.3-4) unstable; urgency=low + + * When installing a new config file, use group postgres/640. + + -- Christoph Berg <myon@debian.org> Mon, 05 Nov 2012 11:41:32 +0100 + pgpool2 (3.1.3-3) unstable; urgency=low * Remove /etc/pgpool2/pgpool.conf on purge, ucf doesn't do that by itself. diff -Nru pgpool2-3.1.3/debian/pgpool2.postinst pgpool2-3.1.3/debian/pgpool2.postinst --- pgpool2-3.1.3/debian/pgpool2.postinst 2012-06-11 18:01:14.000000000 +0200 +++ pgpool2-3.1.3/debian/pgpool2.postinst 2012-11-05 11:36:58.000000000 +0100 @@ -45,11 +45,17 @@ else LPORT=`perl -e 'use lib "/usr/share/postgresql-common";use PgCommon;printf "%s\n", next_free_port;'` fi - CONFIG=`mktemp --tmpdir pgpool2.conf.XXXXXX` - sed -e "s/^port\s*=\s*[0-9]*/port = $LPORT/" /usr/share/pgpool2/pgpool.conf > $CONFIG - ucf $CONFIG /etc/pgpool2/pgpool.conf - ucfr pgpool2 /etc/pgpool2/pgpool.conf - rm -f $CONFIG + TMPCONFIG=`mktemp --tmpdir pgpool2.conf.XXXXXX` + CONFIG=/etc/pgpool2/pgpool.conf + sed -e "s/^port\s*=\s*[0-9]*/port = $LPORT/" /usr/share/pgpool2/pgpool.conf > $TMPCONFIG + [ -e $CONFIG ] || new_conf=yes + ucf $TMPCONFIG $CONFIG + ucfr pgpool2 $CONFIG + if [ "$new_conf" ] ; then + chgrp postgres $CONFIG + chmod 640 $CONFIG + fi + rm -f $TMPCONFIG ;; abort-upgrade|abort-remove|abort-deconfigure) unblock pgpool2/3.1.3-4 Christoph -- cb@df7cb.de | http://www.df7cb.de/Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: Christoph Berg <myon@debian.org>, 693796-done@bugs.debian.org
- Subject: Re: Bug#693796: unblock: pgpool2/3.1.3-4
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Thu, 22 Nov 2012 20:22:17 +0000
- Message-id: <1353615737.9073.3.camel@jacala.jungle.funky-badger.org>
- In-reply-to: <[🔎] 20121120123318.GA1551@msgid.df7cb.de>
- References: <[🔎] 20121120123318.GA1551@msgid.df7cb.de>
On Tue, 2012-11-20 at 13:33 +0100, Christoph Berg wrote: > Please unblock package pgpool2. The old version installs a config file > unreadable by the postgres user which is used to run pgpool2, > rendering the default install unusable. Unblocked; thanks. Regards, Adam
--- End Message ---