[LU-16888] Fix ptlrpc_gss automatic loading Created: 09/Jun/23 Updated: 22/Jun/23 Resolved: 20/Jun/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.16.0 |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sebastien Buisson | Assignee: | Sebastien Buisson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | gss, patch, sec | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
ptlrpc_gss kernel module is automatically loaded when a GSS security flavor is enforced. But this works only once, because loading success is stored in a static variable in the ptlrpc module. If ptlrpc_gss is manually unloaded, while keeping ptlrpc loaded, next mount attempt fails. mgs# lctl conf_param testfs.srpc.flavor.default.cli2mdt=krb5n client# mount -t lustre mgs@tcp:/testfs /mnt/testfs client# umount /mnt/testfs client# rmmod ptlrpc_gss client# mount -t lustre mgs@tcp:/testfs /mnt/testfs mount.lustre: mount mgs@tcp:/testfs at /mnt/testfs failed: Operation not permitted |
| Comments |
| Comment by Gerrit Updater [ 09/Jun/23 ] |
|
"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51264 |
| Comment by Gerrit Updater [ 20/Jun/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51264/ |
| Comment by Peter Jones [ 20/Jun/23 ] |
|
Landed for 2.16 |