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)

