summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli-quotad-client.c2
-rw-r--r--cli/src/cli.c2
-rw-r--r--xlators/features/quota/src/quota-enforcer-client.c2
-rw-r--r--xlators/features/quota/src/quotad-aggregator.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/cli/src/cli-quotad-client.c b/cli/src/cli-quotad-client.c
index f0efc8640bd..7c1651936c7 100644
--- a/cli/src/cli-quotad-client.c
+++ b/cli/src/cli-quotad-client.c
@@ -127,7 +127,7 @@ cli_quotad_clnt_init (xlator_t *this, dict_t *options)
goto out;
ret = dict_set_str (options, "transport.socket.connect-path",
- "/tmp/quotad.socket");
+ "/var/run/gluster/quotad.socket");
if (ret)
goto out;
diff --git a/cli/src/cli.c b/cli/src/cli.c
index cd2825e9c4a..54236344569 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -548,7 +548,7 @@ cli_quotad_clnt_rpc_init (void)
goto out;
ret = dict_set_str (rpc_opts, "transport.socket.connect-path",
- "/tmp/quotad.socket");
+ "/var/run/gluster/quotad.socket");
if (ret)
goto out;
diff --git a/xlators/features/quota/src/quota-enforcer-client.c b/xlators/features/quota/src/quota-enforcer-client.c
index 49279449320..ff4d341cc96 100644
--- a/xlators/features/quota/src/quota-enforcer-client.c
+++ b/xlators/features/quota/src/quota-enforcer-client.c
@@ -361,7 +361,7 @@ quota_enforcer_init (xlator_t *this, dict_t *options)
goto out;
ret = dict_set_str (options, "transport.socket.connect-path",
- "/tmp/quotad.socket");
+ "/var/run/gluster/quotad.socket");
if (ret)
goto out;
diff --git a/xlators/features/quota/src/quotad-aggregator.c b/xlators/features/quota/src/quotad-aggregator.c
index e3b9bdd4af0..f34bdbddd45 100644
--- a/xlators/features/quota/src/quotad-aggregator.c
+++ b/xlators/features/quota/src/quotad-aggregator.c
@@ -361,7 +361,7 @@ quotad_aggregator_init (xlator_t *this)
goto out;
ret = dict_set_str (this->options, "transport.socket.listen-path",
- "/tmp/quotad.socket");
+ "/var/run/gluster/quotad.socket");
if (ret)
goto out;