From 1826e978edc80d433d8625983330fe65f78ea6f4 Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Sat, 2 Apr 2022 17:49:38 +0300 Subject: [PATCH] fix pathname for ctdb_etcd_lock Forwarded: not-needed Specify the actual installation path for this helper script. This is a quick hack, this issue should be addressed upstream in a more generic way. Gbp-Pq: Name ctdb_etcd_lock-path.patch --- ctdb/doc/ctdb-etcd.7.xml | 2 +- ctdb/utils/etcd/ctdb_etcd_lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ctdb/doc/ctdb-etcd.7.xml b/ctdb/doc/ctdb-etcd.7.xml index af343dba..11359356 100644 --- a/ctdb/doc/ctdb-etcd.7.xml +++ b/ctdb/doc/ctdb-etcd.7.xml @@ -68,7 +68,7 @@ 5: -cluster lock = !/usr/local/usr/libexec/ctdb/ctdb_etcd_lock +cluster lock = !/usr/libexec/ctdb/ctdb_etcd_lock You can also pass "-v", "-vv", or "-vvv" to include verbose output in diff --git a/ctdb/utils/etcd/ctdb_etcd_lock b/ctdb/utils/etcd/ctdb_etcd_lock index dac24361..e695ac7c 100755 --- a/ctdb/utils/etcd/ctdb_etcd_lock +++ b/ctdb/utils/etcd/ctdb_etcd_lock @@ -23,7 +23,7 @@ CTDB's cluster lock. Please see ctdb/doc/cluster_mutex_helper.txt for details on what we're SUPPOSED to be doing. :) To use this, include the following line in the ctdb.conf: - cluster lock = !/path/to/script + cluster lock = !/usr/libexec/ctdb/ctdb_etcd_lock You can also pass "-v", "-vv", or "-vvv" to include verbose output in the CTDB log. Additional "v"s indicate increases in verbosity. -- 2.30.2