Package: lvm2 Version: 2.03.02-2 Severity: important Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu eoan ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following: * Fix patch of systemd-run in 69-lvm-metad.rules (LP: #1830169) Thanks for considering the patch. -- System Information: Debian Release: buster/sid APT prefers eoan APT policy: (991, 'eoan'), (500, 'eoan'), (500, 'cosmic-security') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.0.0-13-generic (SMP w/8 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en
diff -Nru lvm2-2.03.02/debian/control lvm2-2.03.02/debian/control --- lvm2-2.03.02/debian/control 2019-04-24 11:07:48.000000000 +0200 +++ lvm2-2.03.02/debian/control 2019-05-23 16:24:43.000000000 +0200 @@ -1,8 +1,7 @@ Source: lvm2 Section: admin Priority: optional -Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> -XSBC-Original-Maintainer: Debian LVM Team <team+...@tracker.debian.org> +Maintainer: Debian LVM Team <team+...@tracker.debian.org> Uploaders: Bastian Blank <wa...@debian.org> Build-Depends: debhelper (>= 10.9.2), diff -Nru lvm2-2.03.02/debian/patches/fix-systemd-run-location.patch lvm2-2.03.02/debian/patches/fix-systemd-run-location.patch --- lvm2-2.03.02/debian/patches/fix-systemd-run-location.patch 1970-01-01 01:00:00.000000000 +0100 +++ lvm2-2.03.02/debian/patches/fix-systemd-run-location.patch 2019-05-23 16:24:18.000000000 +0200 @@ -0,0 +1,19 @@ +Description: Fix location of systemd-run + systemd-run is installed into /usr/bin, not BINDIR aka /bin. +Author: Julian Andres Klode <julian.kl...@canonical.com> +Origin: vendor +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1830169 +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/udev/69-dm-lvm-metad.rules.in ++++ b/udev/69-dm-lvm-metad.rules.in +@@ -113,7 +113,7 @@ LABEL="systemd_background" + # MD | | X | X* | | + # loop | | X | X* | | + # other | X | X | X | | X +-ACTION!="remove", ENV{LVM_PV_GONE}=="1", RUN+="(BINDIR)/systemd-run (LVM_EXEC)/lvm pvscan --cache $major:$minor", GOTO="lvm_end" ++ACTION!="remove", ENV{LVM_PV_GONE}=="1", RUN+="/usr/bin/systemd-run (LVM_EXEC)/lvm pvscan --cache $major:$minor", GOTO="lvm_end" + ENV{SYSTEMD_ALIAS}="/dev/block/$major:$minor" + ENV{ID_MODEL}="LVM PV $env{ID_FS_UUID_ENC} on /dev/$name" + ENV{SYSTEMD_WANTS}+="lvm2-pvscan@$major:$minor.service" diff -Nru lvm2-2.03.02/debian/patches/series lvm2-2.03.02/debian/patches/series --- lvm2-2.03.02/debian/patches/series 2019-04-24 11:09:30.000000000 +0200 +++ lvm2-2.03.02/debian/patches/series 2019-05-23 16:21:23.000000000 +0200 @@ -11,3 +11,4 @@ 0014-no-lvm2-monitor-in-containers.patch blkdeactivate-use-usr-bin-sort.patch 0010-make-generate-config-update.patch +fix-systemd-run-location.patch