Update package version to 2.03.41
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
commit 9f9924cab244b2065ebf6de869f434cc1f336469
|
||||
Author: Daniel Kolesa <[email protected]>
|
||||
Date: Wed Nov 16 12:26:51 2022 +0100
|
||||
|
||||
support new udev activation without systemd
|
||||
|
||||
Debian import: https://salsa.debian.org/lvm-team/lvm2/-/commit/2340adad4b3875331be1ba7abba881cc1b6e6738
|
||||
|
||||
diff --git a/udev/69-dm-lvm.rules.in b/udev/69-dm-lvm.rules.in
|
||||
index 14e7dd2..b32b94a 100644
|
||||
--- a/udev/69-dm-lvm.rules.in
|
||||
+++ b/udev/69-dm-lvm.rules.in
|
||||
@@ -76,8 +76,14 @@ LABEL="lvm_scan"
|
||||
# it's better suited to appearing in the journal.
|
||||
|
||||
IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}"
|
||||
+TEST!="/run/systemd/system", GOTO="lvm_direct_vgchange"
|
||||
+
|
||||
ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(SYSTEMDRUN) --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
|
||||
GOTO="lvm_end"
|
||||
|
||||
+LABEL="lvm_direct_vgchange"
|
||||
+ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
|
||||
+GOTO="lvm_end"
|
||||
+
|
||||
LABEL="lvm_end"
|
||||
Reference in New Issue
Block a user