Whamcloud - gitweb
LU-17899 gss: lsvcgss service fix 93/55293/2
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 3 Jun 2024 11:52:20 +0000 (13:52 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Jun 2024 06:15:13 +0000 (06:15 +0000)
commitf28a7a33a8254fc25c8cb348f87a0c133286393f
treeb7ef36d84a14a7ddafd6b45698fe92bc7a89131f
parent40cc9697fa0b0ccec43d9e519805fb4c13c70490
LU-17899 gss: lsvcgss service fix

The lsvcgss service can fail to start if the daemon is invoked with
the '-k' option whereas no proper Kerberos configuration is in place
on the server. The daemon should ignore the '-k' option is such case
and try to start the other provided modes if any (SSK, Null).
And in case the daemon is started with the '-s' option (SSK), it
spawns a temporary additional thread to compute the number of rounds
used for Miller-Rabin prime testing. So the lsvcgss_sysd script should
support that.

Fixes: c6878334a1 ("LU-17741 gss: fix lsvcgss service for systemd")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iba632bd0ea9696ccea52bff5982a4d4e490597a7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55293
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/scripts/lsvcgss_sysd
lustre/utils/gss/svcgssd.c