From 5f7cb977438891a073227d75029f61970b1710bd Mon Sep 17 00:00:00 2001 From: David Teigland Date: Thu, 4 Nov 2021 14:14:37 -0500 Subject: [PATCH] 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