[lvm-devel] master - spec: Disable sanlock only, keep lockd_dlm enabled

Marian Csontos mcsontos at sourceware.org
Thu Mar 16 12:05:24 UTC 2017


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a87715b6fdd4e95be425ef629c5247ecf1ef169e
Commit:        a87715b6fdd4e95be425ef629c5247ecf1ef169e
Parent:        19b65a3d76e8e316a11c59a690b82bff3203566c
Author:        Marian Csontos <mcsontos at redhat.com>
AuthorDate:    Fri Sep 16 18:01:31 2016 +0200
Committer:     Marian Csontos <mcsontos at redhat.com>
CommitterDate: Thu Mar 16 13:03:25 2017 +0100

spec: Disable sanlock only, keep lockd_dlm enabled

---
 spec/source.inc |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/spec/source.inc b/spec/source.inc
index 43bb20c..30a706c 100644
--- a/spec/source.inc
+++ b/spec/source.inc
@@ -65,6 +65,11 @@
    %global enable_lockd_sanlock 0
   %endif
  %endif
+%else
+ %if %{fedora} >= 22
+  %service lvmlockd 1
+  %global enable_lockd_dlm 1
+ %endif
 %endif
 
 ##############################################################




More information about the lvm-devel mailing list