archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] [PATCH 1/1] udev: use absolute path in rule
@ 2021-10-21 21:01 Christian Hesse
  0 siblings, 0 replies; only message in thread
From: Christian Hesse @ 2021-10-21 21:01 UTC (permalink / raw)
  To: linux-lvm; +Cc: Christian Hesse

From: Christian Hesse <>

The path is known anyway and should be the bullet proof option.

Signed-off-by: Christian Hesse <>
 udev/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/udev/ b/udev/
index 39e5b9807..d6bf1e0e9 100644
--- a/udev/
+++ b/udev/
@@ -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}"

linux-lvm mailing list
read the LVM HOW-TO at

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-21 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21 21:01 [linux-lvm] [PATCH 1/1] udev: use absolute path in rule Christian Hesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).