gentoo/sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch
Ben Kohler 21da5b2fe8
sys-kernel/genkernel: revbump for several fixes
Fixes globbing bug, adds musl patches, and fixes lvm2 build for
non-systemd users.

Bug: https://bugs.gentoo.org/944499
Bug: https://bugs.gentoo.org/932907
Bug: https://bugs.gentoo.org/934773
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2024-11-25 11:31:08 -06:00

12 lines
673 B
Diff

--- a/udev/69-dm-lvm.rules.in
+++ b/udev/69-dm-lvm.rules.in
@@ -76,7 +76,7 @@
# 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}"
-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}"
+ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --nohints --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
GOTO="lvm_end"
LABEL="lvm_end"