Package: release.debian.org Severity: normal User: release.debian....@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 <m...@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 -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: Digital signature