Whamcloud - gitweb
LU-13754 gss: open sptlrpc init channel in R+W mode 67/40367/5
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 30 Oct 2020 07:36:25 +0000 (00:36 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Mar 2021 23:20:59 +0000 (23:20 +0000)
commit85fdf484884240094ffd20eecac91089f2d197cd
treef7a71aafc19c688aab2a3ae7fcc622c23b1618b6
parentd4f7cecc31a7b90ae78c2c728a585ca6ee4fae82
LU-13754 gss: open sptlrpc init channel in R+W mode

Linux 5.3 changed struct cache_detail readers to writers.
As this mechanism is used by GSS authentication in Lustre via SunRPC,
we need to make sure lsvcgssd daemon does open
/proc/net/rpc/auth.sptlrpc.init/channel in R+W mode.

It also affects CentOS/RHEL 7.8, as the kernel commit was ported to
these distros.

Lustre-commit: 0d59f1a2c1e88495d1d697acabb572f67ccc211e
Lustre-change: https://review.whamcloud.com/39297

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: If88802d4f2bc3168dda4f79fe57f2f44ac7ef39e
Reviewed-on: https://review.whamcloud.com/40367
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/gss/svcgssd_main_loop.c