Whamcloud - gitweb
LU-17899 gss: lsvcgss service fix
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 3 Jun 2024 11:52:20 +0000 (13:52 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 11 Jun 2024 07:01:32 +0000 (07:01 +0000)
commitc644eeff25825d8aced995c89894ab015c894418
tree36b25df068451069aaaa91d116ae2ca8d8a31a85
parent1369407f6e39469e93e2de925b0d76ef71dd741d
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.

Lustre-change: https://review.whamcloud.com/55293
Lustre-commit: f28a7a33a8254fc25c8cb348f87a0c133286393f

Fixes: ac1ea2ef12 ("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/ex/lustre-release/+/55294
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/scripts/lsvcgss_sysd
lustre/utils/gss/svcgssd.c