master - Fix scripts/lvmlocks.service.in using nonexistent --lock-opt autowait
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a509776588a5c0c0bfc2394e4d1ed717531b0257 Commit: a509776588a5c0c0bfc2394e4d1ed717531b0257 Parent: d79afd408446e3eb922d16954ae630a7af995e66 Author: Maxim Plotnikov <[email protected]> AuthorDate: Wed Apr 22 00:16:29 2020 +0300 Committer: David Teigland <[email protected]> CommitterDate: Tue Apr 21 16:52:45 2020 -0500
Fix scripts/lvmlocks.service.in using nonexistent --lock-opt autowait
The --lock-opt autowait was dropped back in 9ab6bdce01, and attempting to specify it has quite an opposite effect:
no waiting is done, which makes the unit almost useless.
--- scripts/lvmlocks.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lvmlocks.service.in +1 -1
@@ -8,7 +8,7 @@ Type=oneshot RemainAfterExit=yes # start lockspaces and wait for them to finish starting -ExecStart=@SBINDIR@/lvm vgchange --lock-start --lock-opt autowait +ExecStart=@SBINDIR@/lvm vgchange --lock-start --lock-opt auto # stop lockspaces and wait for them to finish stopping ExecStop=@SBINDIR@/lvmlockctl --stop-lockspaces --wait 1