fix pathname for ctdb_etcd_lock
authorMichael Tokarev <mjt@tls.msk.ru>
Sat, 2 Apr 2022 14:49:38 +0000 (17:49 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 27 Nov 2023 19:22:54 +0000 (22:22 +0300)
Specify the actual installation path for this helper script.

Gbp-Pq: Name ctdb_etcd_lock-path.patch

ctdb/doc/ctdb-etcd.7.xml
ctdb/utils/etcd/ctdb_etcd_lock

index f84989f854fb5f0ef429ef51155847c12f6fcf3a..fcb3d0c3b5f4c51854b7a93f7af70629be12c029 100644 (file)
@@ -68,7 +68,7 @@
       <manvolnum>5</manvolnum></citerefentry>:
     </para>
     <screen format="linespecific">
-cluster lock = !/usr/local/usr/libexec/ctdb/ctdb_etcd_lock
+cluster lock = !/usr/libexec/ctdb/ctdb_etcd_lock
     </screen>
     <para>
       You can also pass "-v", "-vv", or "-vvv" to include verbose output in
index dac24361e7764deacccceae8fef82855ef0d6c81..e695ac7cab2c4f9770996304fbe828da97e1314b 100755 (executable)
@@ -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.