Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
resource-agents.16363
0001-lvmlockd-support-lvm2-2.03-removing-lvmeta...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-lvmlockd-support-lvm2-2.03-removing-lvmetad.patch of Package resource-agents.16363
From 0a299ee9a00ec9e2dccdcf6a4132e55a9207daa5 Mon Sep 17 00:00:00 2001 From: Zhao Heming <heming.zhao@suse.com> Date: Mon, 24 Feb 2020 11:22:34 +0800 Subject: [PATCH 1/1] [lvmlockd] support lvm2-2.03 removing lvmetad Signed-off-by: Zhao Heming <heming.zhao@suse.com> --- heartbeat/lvmlockd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heartbeat/lvmlockd b/heartbeat/lvmlockd index 3c8c69cc..e80c7647 100755 --- a/heartbeat/lvmlockd +++ b/heartbeat/lvmlockd @@ -196,11 +196,11 @@ setup_lvm_config() out=$(lvmconfig 'global/locking_type') lock_type=$(echo "$out" | cut -d'=' -f2) - if [ "$use_lvmlockd" -ne 1 ] ; then + if [ "$use_lvmlockd" != 1 ] ; then ocf_log info "setting \"use_lvmlockd=1\" in /etc/lvm/lvm.conf ..." sed -i 's,^[[:blank:]]*use_lvmlockd[[:blank:]]*=.*,\ \ \ \ use_lvmlockd = 1,g' /etc/lvm/lvm.conf fi - if [ "$lock_type" -ne 1 ] ; then + if [ "$lock_type" != 1 ] ; then ocf_log info "setting \"locking_type=1\" in /etc/lvm/lvm.conf ..." sed -i 's,^[[:blank:]]*locking_type[[:blank:]]*=.*,\ \ \ \ locking_type = 1,g' /etc/lvm/lvm.conf fi -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor