summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2016-09-16 18:01:31 +0200
committerMarian Csontos <mcsontos@redhat.com>2017-03-16 13:03:25 +0100
commita87715b6fdd4e95be425ef629c5247ecf1ef169e (patch)
tree45a106a0957605a03d687adf981a0e63f3aebdd1 /spec
parent19b65a3d76e8e316a11c59a690b82bff3203566c (diff)
downloadlvm2-a87715b6fdd4e95be425ef629c5247ecf1ef169e.tar.gz
spec: Disable sanlock only, keep lockd_dlm enabled
Diffstat (limited to 'spec')
-rw-r--r--spec/source.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/source.inc b/spec/source.inc
index 43bb20c0a..30a706c96 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
##############################################################