[LU-17497] Prevent setting incorrect values for identity and rsi upcall Created: 01/Feb/24  Updated: 01/Feb/24

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.16.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Sebastien Buisson Assignee: Sebastien Buisson
Resolution: Unresolved Votes: 0
Labels: patch, sec

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Identity upcall can be set via lctl set_param mdt.*.identity_upcall=xxx, and rsi upcall can be set via lctl set_param sptlrpc.gss.rsi_upcall=xxx.

Possible values are a valid path to an executable, and also NONE to disable identity upcall. In order to prevent Lustre issues due to the upcall incorrectly set, we should check for input value, and return an error if it is not correct (along with a kind message giving accepted values).



 Comments   
Comment by Gerrit Updater [ 01/Feb/24 ]

"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53878
Subject: LU-17497 obdclass: check upcall incorrect values
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 60cb12152e84f8a33a78a3a977c54eb3c5933af3

Generated at Sat Feb 10 03:35:55 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.