summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-08-21 01:53:42 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-21 05:17:32 -0700
commitad0e7a86c256b6e49daddafd954809b6040804b2 (patch)
tree058a454d2944376b1091fa9b8e772f98d74c6a61 /xlators/mgmt/glusterd/src/glusterd-utils.c
parentdaf868e13511d97492ca4ece5fe60a2a4f69a20f (diff)
glusterd: prefix added to gluster commands
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1283 ([3.1.0qa3] gluster volume create and volume start fail on when glusterfs is installed on prefixed path) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1283
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 4202f271638..424c35f2f71 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -767,9 +767,9 @@ glusterd_volume_start_glusterfs (glusterd_volinfo_t *volinfo,
volinfo->volname, count);
snprintf (cmd_str, 8192,
- "glusterfs --xlator-option server-*.listen-port=%d "
+ "%s/sbin/glusterfs --xlator-option server-*.listen-port=%d "
"-s localhost --volfile-id %s -p %s --brick-name %s "
- "--brick-port %d",
+ "--brick-port %d", GFS_PREFIX,
port, volfile, pidfile, brickinfo->path, port);
ret = system (cmd_str);