From 0c1eb282aad1a8b210b2f77efe57a3c35c4bee70 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Fri, 19 Jan 2018 03:54:02 -0500 Subject: protocol/server: Fix "auth-path" in options table Options set will crash the brick with glusterd2. glusterd used to set "auth-path" during volfile generation. With glusterd2, it should come from options table. Updates: #302 Change-Id: Ie41a17779c185b87ace7e0bce0d0ba594b415a75 Signed-off-by: Kotresh HR --- xlators/protocol/server/src/server.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xlators/protocol/server/src/server.c') diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 66122318c79..bae4a119b1f 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -1815,6 +1815,11 @@ struct volume_options server_options[] = { "overrides the auth.allow option. By default, all" " connections are allowed." }, + /* This is not a valid path w.r.t daemons, hence it's string */ + { .key = {"auth-path"}, + .type = GF_OPTION_TYPE_STR, + .default_value = "{{ brick.path }}" + }, { .key = {"rpc.outstanding-rpc-limit"}, .type = GF_OPTION_TYPE_INT, .min = RPCSVC_MIN_OUTSTANDING_RPC_LIMIT, -- cgit