diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-12-04 07:20:35 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2014-12-09 22:17:58 -0800 |
commit | 48b4aa06f85f791efc66871007e7a5ed58b16237 (patch) | |
tree | 54d5437fecd73fcc3bd676872ae84600659102d7 /xlators/protocol | |
parent | 1f67254c4d6e6b44a8deee47b66e57d92adeffde (diff) |
protocol/server: No root-squash checks for self-heal pid
Backport of http://review.gluster.org/9231
Problem:
Self-heal pid used to be -1 which was colliding with gsyncd. Gsyncd
was not checked for root-squash authentication. Recently self-heal
pid changed to -6, but root-squash authentication is not disabled
for this.
Fix:
disable root-squash authentication for self-heal
Change-Id: I594a732d800902ce805f849813631da36d8d3dc7
BUG: 1170514
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/9234
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r-- | xlators/protocol/server/src/server-helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c index dbd26539b2f..545be6e9580 100644 --- a/xlators/protocol/server/src/server-helpers.c +++ b/xlators/protocol/server/src/server-helpers.c @@ -467,6 +467,7 @@ get_frame_from_request (rpcsvc_request_t *req) req->pid != GF_CLIENT_PID_NO_ROOT_SQUASH && req->pid != GF_CLIENT_PID_GSYNCD && req->pid != GF_CLIENT_PID_DEFRAG && + req->pid != GF_CLIENT_PID_AFR_SELF_HEALD && req->pid != GF_CLIENT_PID_QUOTA_MOUNT) RPC_AUTH_ROOT_SQUASH (req); |