Skip to contentSkip to conversation

main - lvm2-pvscan: include --autoactivation event

PATCH David Teigland 1 participant 1 message Nov 5, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5f7cb977438891a073227d75029f61970b1710bd
Commit:        5f7cb977438891a073227d75029f61970b1710bd
Parent:        f40fd88374fe1e911233e5a4fc79223d97decde0
Author:        David Teigland <[email protected]>
AuthorDate:    Thu Nov 4 14:14:37 2021 -0500
Committer:     David Teigland <[email protected]>
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(-)
scripts/lvm2-pvscan.service.in +1 -1
index 09753e8c9..93749f7a7 100644
@@ -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