[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#901033: marked as done (stretch-pu: package postgresql-common/181+deb9u2)



Your message dated Sat, 14 Jul 2018 11:21:20 +0100
with message-id <1531563680.2095.30.camel@adam-barratt.org.uk>
and subject line Closing bugs for updates included in 9.5
has caused the Debian Bug report #901033,
regarding stretch-pu: package postgresql-common/181+deb9u2
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.)


-- 
901033: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901033
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@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.berg@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 <myon@debian.org>,
  Peter Eisentraut <petere@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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 9.5

Hi,

The update referenced by each of these bugs was included in this
morning's stretch point release.

Regards,

Adam

--- End Message ---

Reply to: