diff options
author | Ravishankar N <ravishankar@redhat.com> | 2013-12-20 12:27:30 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-12-24 02:32:30 -0800 |
commit | 67ddf10d07ea14e1b9faeabde9dfc700247a6377 (patch) | |
tree | bec9fa90fdbc7a04cd89a624a6e696bea5592b9a /xlators/mount/fuse/utils | |
parent | f86c618cd0943930c391e6bf55fdf977b3245f36 (diff) |
mount.glusterfs:export PATH environment variable
Problem: spurious warning:
mount -t glusterfs 10.70.7.228:repvol /mnt/fuse_mnt/
WARNING: getfattr not found, certain checks will be skipped..
Fix:
export PATH so that getfattr search succeeds.
Change-Id: Ib19e2899e43a7d763a136b9fbc90823f743597a5
BUG: 1040348
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/6545
Reviewed-by: Harshavardhana <harsha@harshavardhana.net>
Tested-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mount/fuse/utils')
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index d5993618c5f..2799ec847c0 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -26,6 +26,7 @@ _init () cmd_line=$(echo "@sbindir@/glusterfs"); # check whether getfattr exists + export PATH getfattr=$(which getfattr 2>/dev/null); if [ $? -ne 0 ]; then echo "WARNING: getfattr not found, certain checks will be skipped.." |