[lvm-devel] main - lvm2-pvscan: include --autoactivation event
David Teigland
teigland at sourceware.org
Fri Nov 5 17:45:35 UTC 2021
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5f7cb977438891a073227d75029f61970b1710bd
Commit: 5f7cb977438891a073227d75029f61970b1710bd
Parent: f40fd88374fe1e911233e5a4fc79223d97decde0
Author: David Teigland <teigland at redhat.com>
AuthorDate: Thu Nov 4 14:14:37 2021 -0500
Committer: David Teigland <teigland at redhat.com>
CommitterDate: Thu Nov 4 14:14:37 2021 -0500
lvm2-pvscan: include --autoactivation event
in the pvscan --cache -aay command so that the use
of the command for event activation is explicit.
---
scripts/lvm2-pvscan.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lvm2-pvscan.service.in b/scripts/lvm2-pvscan.service.in
index 09753e8c9..93749f7a7 100644
--- a/scripts/lvm2-pvscan.service.in
+++ b/scripts/lvm2-pvscan.service.in
@@ -10,5 +10,5 @@ Conflicts=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@SBINDIR@/lvm pvscan --cache --activate ay %i
+ExecStart=@SBINDIR@/lvm pvscan --cache --activate ay --autoactivation event %i
ExecStop=@SBINDIR@/lvm pvscan --cache %i
More information about the lvm-devel
mailing list