summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.h
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2015-01-09 10:36:38 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2015-01-12 06:04:03 -0800
commitf839e25a1ee67279c0c59da9d7262728133e8b37 (patch)
tree345d40e4656f63cdec3dae76b43074bd20b160e7 /xlators/mgmt/glusterd/src/glusterd-utils.h
parent119bedfa06c3a6bb38089dafbcd6e0c2bd9b26cf (diff)
glusterd: glusterd socket files should reside in /var/run/gluster
glusterfs socket files should not reside outside of gluster folder. Change-Id: I5d7b43b11c8c78a32df8aaf38917b80e4e33c9d0 BUG: 1180972 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/9423 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h
index 4062cf1764b..6c3c8ffed62 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.h
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.h
@@ -31,7 +31,7 @@
#include "glusterfs3-xdr.h"
#include "glusterd-peer-utils.h"
-#define GLUSTERD_SOCK_DIR "/var/run"
+#define GLUSTERD_SOCK_DIR "/var/run/gluster"
#define GLUSTERD_ASSIGN_BRICKID_TO_BRICKINFO(brickinfo, volinfo, brickid) do {\
sprintf (brickinfo->brick_id, "%s-client-%d",\
volinfo->volname, brickid);\