Package: release.debian.org Severity: normal Tags: stretch User: release.debian....@packages.debian.org Usertags: pu
Please accept postgresql-common/181+deb9u2 for stretch. It fixes the problem that removing the old postgresql server packages after completing the upgrade will also shut down the server running the new version. (#809811) The package passes the built-in testsuite and has also been tested manually. Thanks, Christoph diff -Nru postgresql-common-181+deb9u1/debian/changelog postgresql-common-181+deb9u2/debian/changelog --- postgresql-common-181+deb9u1/debian/changelog 2017-11-07 20:54:52.000000000 +0100 +++ postgresql-common-181+deb9u2/debian/changelog 2018-06-08 11:16:28.000000000 +0200 @@ -1,3 +1,13 @@ +postgresql-common (181+deb9u2) stretch; urgency=medium + + * maintscripts-functions: Use 'deb-systemd-invoke stop "postgresql@$ver-*"' + to prevent upgrading/removing server packages from stopping other major + version clusters when running systemd. (Closes: #809811) + (Use deb-systemd-invoke instead of invoke-rc.d; jessie's invoke-rc.d does + not support service patterns.) + + -- Christoph Berg <christoph.b...@credativ.de> Fri, 08 Jun 2018 11:16:28 +0200 + postgresql-common (181+deb9u1) stretch-security; urgency=medium * pg_ctlcluster, pg_createcluster, pg_upgradecluster: Use lchown instead diff -Nru postgresql-common-181+deb9u1/debian/control postgresql-common-181+deb9u2/debian/control --- postgresql-common-181+deb9u1/debian/control 2017-11-07 20:54:52.000000000 +0100 +++ postgresql-common-181+deb9u2/debian/control 2018-06-08 11:16:28.000000000 +0200 @@ -7,8 +7,8 @@ Christoph Berg <m...@debian.org>, Peter Eisentraut <pet...@debian.org>, Standards-Version: 3.9.8 -Vcs-Git: git://anonscm.debian.org/pkg-postgresql/postgresql-common.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-postgresql/postgresql-common.git +Vcs-Git: https://salsa.debian.org/postgresql/postgresql-common.git +Vcs-Browser: https://salsa.debian.org/postgresql/postgresql-common Build-Depends: debhelper (>= 9), dh-systemd (>= 1.19) | sysvinit (<< 2.88dsf-42), diff -Nru postgresql-common-181+deb9u1/debian/maintscripts-functions postgresql-common-181+deb9u2/debian/maintscripts-functions --- postgresql-common-181+deb9u1/debian/maintscripts-functions 2017-11-07 20:54:52.000000000 +0100 +++ postgresql-common-181+deb9u2/debian/maintscripts-functions 2018-06-08 10:54:42.000000000 +0200 @@ -111,7 +111,11 @@ stop_version() { if [ -x /etc/init.d/postgresql ] && [ ! -x /etc/init.d/postgresql-$1 ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + if [ -d /run/systemd/system ]; then + deb-systemd-invoke stop "postgresql@$1-*" || exit $? + else invoke-rc.d postgresql stop $1 || exit $? + fi else /etc/init.d/postgresql stop $1 || exit $? fi
signature.asc
Description: PGP signature