File ctdb-socket-path.patch of Package ctdb
commit 30bcec58114ffaed4cf79d290875b8c18ff3e94e
Author: Jim McDonough <jmcd@samba.org>
Date: Fri Apr 1 16:12:04 2011 -0400
Use correct socket path
Index: ctdb-2.5.3/doc/ctdb.1.html
===================================================================
--- ctdb-2.5.3.orig/doc/ctdb.1.html
+++ ctdb-2.5.3/doc/ctdb.1.html
@@ -42,7 +42,7 @@
Specify that FILENAME is the name of the Unix domain
socket to use when connecting to the local CTDB
daemon. The default is
- <code class="filename">/tmp/ctdb.socket</code>.
+ <code class="filename">/var/lib/ctdb/ctdb.socket</code>.
</p></dd></dl></div></div><div class="refsect1"><a name="idm139981313885104"></a><h2>ADMINISTRATIVE COMMANDS</h2><p>
These are commands used to monitor and administer a CTDB cluster.
</p><div class="refsect2"><a name="idm139981313884048"></a><h3>pnn</h3><p>
Index: ctdb-2.5.1/doc/ctdb.1.xml
===================================================================
--- ctdb-2.5.1.orig/doc/ctdb.1.xml
+++ ctdb-2.5.1/doc/ctdb.1.xml
@@ -175,7 +175,7 @@
Specify that FILENAME is the name of the Unix domain
socket to use when connecting to the local CTDB
daemon. The default is
- <filename>/tmp/ctdb.socket</filename>.
+ <filename>/var/lib/ctdb/ctdb.socket</filename>.
</para>
</listitem>
</varlistentry>
Index: ctdb-2.5.1/doc/ctdbd.1.html
===================================================================
--- ctdb-2.5.1.orig/doc/ctdbd.1.html
+++ ctdb-2.5.1/doc/ctdbd.1.html
@@ -217,7 +217,7 @@
ctdbd will create. This socket is used by local clients to
communicate with ctdbd.
</p><p>
- The default is <code class="filename">/tmp/ctdb.socket</code> . You
+ The default is <code class="filename">/var/lib/ctdb/ctdb.socket</code> . You
only need to use this option if you plan to run multiple
ctdbd daemons on the same physical host, usually for
testing.
Index: ctdb-2.5.1/doc/ctdbd.1.xml
===================================================================
--- ctdb-2.5.1.orig/doc/ctdbd.1.xml
+++ ctdb-2.5.1/doc/ctdbd.1.xml
@@ -496,7 +496,7 @@
communicate with ctdbd.
</para>
<para>
- The default is <filename>/tmp/ctdb.socket</filename> . You
+ The default is <filename>/var/lib/ctdb/ctdb.socket</filename> . You
only need to use this option if you plan to run multiple
ctdbd daemons on the same physical host, usually for
testing.