Your message dated Sat, 22 Jun 2019 08:11:00 +0000
with message-id <[email protected]>
and subject line Re: Bug#930905: unblock: lvm2/2.03.02-3
has caused the Debian Bug report #930905,
regarding unblock: lvm2/2.03.02-3
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.)


-- 
930905: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930905
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package lvm2.  It makes sure a removed daemon is actually
stopped.

diff --git a/debian/changelog b/debian/changelog
index de265380d..acfe305a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lvm2 (2.03.02-3) unstable; urgency=medium
+
+  * Stop lvm2-lvmetad on upgrade. (closes: #929080)
+
+ -- Bastian Blank <[email protected]>  Fri, 21 Jun 2019 12:29:17 +0200
+
 lvm2 (2.03.02-2) unstable; urgency=medium
 
   * Remove lvm2-lvmetad init script as well. (closes: #917159)
diff --git a/debian/lvm2.postinst b/debian/lvm2.postinst
index 5d22a627f..5df34881c 100644
--- a/debian/lvm2.postinst
+++ b/debian/lvm2.postinst
@@ -15,7 +15,7 @@ case "$1" in
             deb-systemd-helper purge lvm2-activation-early.service 
lvm2-activation.service >/dev/null
             deb-systemd-helper unmask lvm2-activation-early.service 
lvm2-activation.service >/dev/null
         fi
-        if dpkg --compare-versions "$2" lt "2.03.02-2~"; then
+        if dpkg --compare-versions "$2" lt "2.03.02-3~"; then
             deb-systemd-helper purge lvm2-lvmetad.socket >/dev/null
             deb-systemd-helper unmask lvm2-lvmetad.socket >/dev/null
             update-rc.d -f lvm2-lvmetad remove
diff --git a/debian/lvm2.preinst b/debian/lvm2.preinst
index ddf4bd12c..bfe7809e4 100644
--- a/debian/lvm2.preinst
+++ b/debian/lvm2.preinst
@@ -10,6 +10,9 @@ case "$1" in
                 deb-systemd-helper unmask lvm2-activation.service 
lvm2-activation-early.service >/dev/null
             fi
         fi
+        if dpkg --compare-versions "$2" lt "2.03.02-3~"; then
+            invoke-rc.d lvm2-lvmetad stop || true
+        fi
     ;;
 esac

unblock lvm2/2.03.02-3

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.0.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Bastian Blank:
> Package: release.debian.org
> Severity: normal
> User: [email protected]
> Usertags: unblock
> 
> Please unblock package lvm2.  It makes sure a removed daemon is actually
> stopped.
> 
> [...]
> 
> unblock lvm2/2.03.02-3
> 
> [...]

Unblocked, thanks.
~Niels

--- End Message ---

Reply via email to