]> sourceware.org Git - lvm2.git/commitdiff
The path is known anyway and should be the bullet proof option.
authorChristian Hesse <mail@eworm.de>
Thu, 21 Oct 2021 21:33:23 +0000 (16:33 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 21 Oct 2021 21:33:23 +0000 (16:33 -0500)
Signed-off-by: Christian Hesse <mail@eworm.de>
udev/69-dm-lvm.rules.in

index 39e5b98074010745f78a7a86a05929700c9cd690..d6bf1e0e9faf45117b56874bf22f75b7ff4b78b2 100644 (file)
@@ -80,7 +80,7 @@ ENV{SYSTEMD_READY}="1"
 # it's better suited to appearing in the journal.
 
 IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --udevoutput --journal=output $env{DEVNAME}"
-ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="/usr/bin/systemd-run -r --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} lvm vgchange -aay --nohints $env{LVM_VG_NAME_COMPLETE}"
+ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="/usr/bin/systemd-run -r --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay --nohints $env{LVM_VG_NAME_COMPLETE}"
 GOTO="lvm_end"
 
 LABEL="lvm_end"
This page took 0.040548 seconds and 5 git commands to generate.