summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src
diff options
context:
space:
mode:
authoryatipadia <ypadia@redhat.com>2019-12-31 14:47:03 +0530
committerSanju Rakonde <sanjurakonde@review.gluster.org>2020-03-09 06:25:19 +0000
commit547fa5bbe5b3438d981de50ac5b2497683a4d9e2 (patch)
treefc78a8e290329b3f42cdeb3bcfcba561df0ab82c /xlators/storage/posix/src
parent3a9254d4ed5452c6da4401abd9626db6345629b7 (diff)
mgmt/glusterd: Adding validation for statedump path
Description of problem: server.statedump-path is the path where statedumps are stored, by default it is /var/run/gluster. And can be set to any valid directory path. It was observed that server.statedump-path was also accepting file, non-existent file and non-existent paths as well. And statedump command was successful even when statedumps with all the invalid paths. a. A file b. A non-existent path Solution: Added a validation function in gluster-volume-set.c which will allow volume set to success if it's a valid directory and in all other cases, volume set should fail. Fixes: bz#1787122 Change-Id: Ia66e2b3d35f23efc5444c829928779a79d827b42 Signed-off-by: yatipadia <ypadia@redhat.com> Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src')
0 files changed, 0 insertions, 0 deletions