summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvmallika <vmallika@redhat.com>2015-03-02 12:52:22 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-03 04:51:39 -0800
commit1dc89418ec39929f6f9de448da85966beffeef27 (patch)
tree820f060cc1a2c17a79bf12a36a775318336896c8
parenta5b02c0d71c7952ebbb24b1075c216cc76761956 (diff)
quota: quotad.socket files should be created under /var/run/gluster
Change-Id: I49502a4f7516c02f7e321c16eebd748545afde07 BUG: 1197587 Signed-off-by: vmallika <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/9778 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-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;