Your message dated Fri, 27 Jan 2012 17:04:31 +0000
with message-id <[email protected]>
and subject line Bug#657204: fixed in pgbouncer 1.5-1
has caused the Debian Bug report #657204,
regarding use pgbouncer online restart feature when upgrading
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 [email protected]
immediately.)
--
657204: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657204
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pgbouncer
Severity: normal
Tags: patch
pgbouncer has an amazing feature to not drop connections when it is upgraded,
but the debian packaging does not make use of it. This patch does. Note that
it will take two upgrades before it takes effect, because the prerm of the
current package will still stop pgbouncer before the upgrade.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500,
'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: debian/rules
===================================================================
--- debian/rules (revision 721)
+++ debian/rules (working copy)
@@ -7,6 +7,7 @@
DEB_CONFIGURE_EXTRA_FLAGS := --bindir=/usr/sbin
DEB_UPDATE_RCD_PARAMS := defaults 20 18
+DEB_DH_INSTALLINIT_ARGS := -R
clean::
find doc -name "pgbouncer.*" -exec rm {} \;
Index: debian/init
===================================================================
--- debian/init (revision 721)
+++ debian/init (working copy)
@@ -64,6 +64,14 @@
done
}
+d_restart() {
+ if [ ${START} -eq 1 ]; then
+ su -c "$DAEMON -R $OPTS 2> /dev/null &" - postgres
+ else
+ log_warning_msg "pgbouncer daemon disabled in /etc/default/pgbouncer"
+ fi
+}
+
case "$1" in
start)
log_daemon_msg Starting pgbouncer
@@ -87,8 +95,7 @@
;;
restart)
log_daemon_msg "Restarting pgbouncer" pgbouncer
- d_stop
- d_start
+ d_restart
log_end_msg $?
;;
try-restart)
--- End Message ---
--- Begin Message ---
Source: pgbouncer
Source-Version: 1.5-1
We believe that the bug you reported is fixed in the latest version of
pgbouncer, which is due to be installed in the Debian FTP archive:
pgbouncer_1.5-1.debian.tar.gz
to main/p/pgbouncer/pgbouncer_1.5-1.debian.tar.gz
pgbouncer_1.5-1.dsc
to main/p/pgbouncer/pgbouncer_1.5-1.dsc
pgbouncer_1.5-1_amd64.deb
to main/p/pgbouncer/pgbouncer_1.5-1_amd64.deb
pgbouncer_1.5.orig.tar.gz
to main/p/pgbouncer/pgbouncer_1.5.orig.tar.gz
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.
Christoph Berg <[email protected]> (supplier of updated pgbouncer 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: SHA256
Format: 1.8
Date: Fri, 27 Jan 2012 17:40:22 +0100
Source: pgbouncer
Binary: pgbouncer
Architecture: source amd64
Version: 1.5-1
Distribution: unstable
Urgency: low
Maintainer: Christoph Berg <[email protected]>
Changed-By: Christoph Berg <[email protected]>
Description:
pgbouncer - lightweight connection pooler for PostgreSQL
Closes: 641568 655283 657204
Changes:
pgbouncer (1.5-1) unstable; urgency=low
.
[ Peter Eisentraut ]
* Update watch file to allow .tar.gz in addition to .tgz
* Remove obsolete README.source and repack support in watch file
.
[ Christoph Berg ]
* New upstream release.
* Use start-stop-daemon for stopping the daemon. Closes: #641568.
* Use pgbouncer -R to restart in place, thanks Cody Cutrer for the patch.
Closes: #657204.
* Update URL in README.Debian. Closes: #655283.
Checksums-Sha1:
5f914fa3753793867c2ccc245f5de14c375dd6c3 1978 pgbouncer_1.5-1.dsc
bebb02b24d6083398c65877ddbc13b42eb326980 411488 pgbouncer_1.5.orig.tar.gz
f8ec1c300393e40d178d4707460e4105e108b12b 6997 pgbouncer_1.5-1.debian.tar.gz
dcd328ede1c2067299a257b8028122fb42ca38ed 143180 pgbouncer_1.5-1_amd64.deb
Checksums-Sha256:
e7e7870bd9a4eb21bec0c9c3e3e49769299fed86fc3077efe3083a3bf77e171d 1978
pgbouncer_1.5-1.dsc
408924d54794fcd63cd31284fa13a21266b2fc33c6b5e6be1eb1d91512261fee 411488
pgbouncer_1.5.orig.tar.gz
cee1bcb8c75b47244e55aad4cf916d36f882bb6b99e84e5ff8df3baf389ce169 6997
pgbouncer_1.5-1.debian.tar.gz
ed65c0e889a7ffc91ef5de85e1825d4915ea2af7f330892c8c466a2e7d40670e 143180
pgbouncer_1.5-1_amd64.deb
Files:
17cc8359fbec0ce2ba9064b45fdc3e37 1978 database optional pgbouncer_1.5-1.dsc
6179fdc7f7e3c702fe834d655676de4c 411488 database optional
pgbouncer_1.5.orig.tar.gz
4c6d34f5e6ef7685c58e5e3c6173ee35 6997 database optional
pgbouncer_1.5-1.debian.tar.gz
466d12598ddd864716a365eebd170a35 143180 database optional
pgbouncer_1.5-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJPItS9AAoJEExaa6sS0qeuZgwP/js7AQIYVG47XtB792pDOIef
w28BXDacywKb1Z03RgwlP6z31+yjyfjRKT+CqFNL43FIsRvFAULxErRd80YZMNow
/tzJYoKE+vS7AwMW94oSIAxcBLMkI6VRKgsJaZ0Tr2GLo6BbeQxPWz4mZBFfiJnR
OLpwlSOIN+QpUU5gitSlkh2zbwd56ERcj2T8f6+BOxQDDMGlthdNAjREhdC72KTY
CnHBlsVyMio7JI6OZen6ZgpEwLBBgGJgtjiw3ZBN4CfTq8QpGoxpoIjh6gKLUW5P
Gzb4UQ959Ij97Ha5oG8p8TGo2B29oJSLf/rXBEt7KUwp2uTvvru39wHt+bdxbxDB
IwV/3PmLOY9jkjuj9TYDgTvEGy2+TdJQbRBqKwcb2BDuAuG61KRNKxKTlnsMPWHl
YChYABriMeF6Q71stjjNGWCyiFOrCim9P2arJxp44H+uJeqg6fI1jwfyj59HkTO0
5gor8TB1gvzGitOtMwr056mvoUGuaLla8hiYO+4pkRvGp45R1pzLgK+h51ryAdj2
31sJ4vlXHhyUg+Dv9KB7H++8oXtK/8E+psISFmemrQEdjm11jR8vDD1eD17mY3Dh
0t++kLKNW0TOo4UbCvaYvGlQcDSlkV4tfZ8Ew6TxEBbUytK/GY9IS+dkCzjDoGa6
K+YltZgDXREangGjlr8E
=tQr3
-----END PGP SIGNATURE-----
--- End Message ---