build: Move the default CTDB socket from /tmp to /var/run/ctdb
authorAmitay Isaacs <amitay@gmail.com>
Thu, 3 Oct 2013 05:19:05 +0000 (15:19 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 25 Oct 2013 01:06:07 +0000 (12:06 +1100)
commit7eb680a95fcdacfd47d7ddab3a4df5b9ed0c837d
tree0bad71afa324787b1f9b4aac069b2fa25abcbe30
parent4432aef6d1c98b9e73f60139afa6a36b4dd6ba76
build: Move the default CTDB socket from /tmp to /var/run/ctdb

Use /var/run/ctdb/ctdbd.socket because there might be other daemons
that need sockets in the future.

The local daemons test code to create a link for the default
convenience socket has to be removed because the link can't be created
as a regular user in the new location.  This should be OK since all
calls to the ctdb tool in the test code should be wrapped in onnode.
When debugging tests, a developer will have to set CTDB_SOCKET by
hand.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Pair-programmed-with: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit dc67a4e24af9d07aead2a1710eeaf5d6cc409201)
ctdb/config/ctdb.sysconfig
ctdb/configure.ac
ctdb/include/ctdb_protocol.h
ctdb/tests/scripts/integration.bash