archive mirror
 help / color / mirror / Atom feed
From: Christian Hesse <>
Cc: Christian Hesse <>
Subject: [linux-lvm] [PATCH 1/1] udev: use absolute path in rule
Date: Thu, 21 Oct 2021 23:01:34 +0200	[thread overview]
Message-ID: <> (raw)

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

                 reply	other threads:[~2021-10-21 21:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).