diff options
author | Sunny Kumar <sunkumar@redhat.com> | 2019-06-20 18:47:45 +0530 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2019-06-28 09:37:22 +0000 |
commit | 29ad22aa9482a69f3fcf04eea762e76602bbe9a0 (patch) | |
tree | a063bcd2ebc21cdb3b40e9e95c09c125af625a94 /xlators/mgmt/glusterd/src/glusterd-handler.c | |
parent | d4a4c4284317f3a51e2edfc218bfd030103f1110 (diff) |
geo-rep : fix gluster command path for non-root session
Problem:
gluster command not found.
Cause:
In Volinfo class we issue command 'gluster vol info' to get information
about volume like getting brick_root to perform various operation.
When geo-rep session is configured for non-root user Volinfo class
fails to issue gluster command due to unavailability of gluster
binary path for non-root user.
Solution:
Use config value 'slave-gluster-command-dir'/'gluster-command-dir' to get path
for gluster command based on caller.
fixes: bz#1722740
Change-Id: I4ec46373da01f5d00ecd160c4e8c6239da8b3859
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c')
0 files changed, 0 insertions, 0 deletions