diff options
author | Amitay Isaacs <amitay@gmail.com> | 2013-10-03 15:19:05 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-10-25 12:06:07 +1100 |
commit | 7eb680a95fcdacfd47d7ddab3a4df5b9ed0c837d (patch) | |
tree | 0bad71afa324787b1f9b4aac069b2fa25abcbe30 /ctdb/include/ctdb_protocol.h | |
parent | 4432aef6d1c98b9e73f60139afa6a36b4dd6ba76 (diff) | |
download | samba-7eb680a95fcdacfd47d7ddab3a4df5b9ed0c837d.tar.gz samba-7eb680a95fcdacfd47d7ddab3a4df5b9ed0c837d.tar.xz samba-7eb680a95fcdacfd47d7ddab3a4df5b9ed0c837d.zip |
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)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
-rw-r--r-- | ctdb/include/ctdb_protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index 9c0d981c84..15c87be687 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -24,7 +24,7 @@ #ifdef SOCKPATH #define CTDB_PATH SOCKPATH #else -#define CTDB_PATH "/tmp/ctdb.socket" +#define CTDB_PATH "/var/run/ctdb/ctdbd.socket" #endif /* default ctdb port number */ |