[LU-9145] When Shared Key feature is active, Nodemap admin property allows more access Created: 22/Feb/17 Updated: 15/Dec/21 Resolved: 09/Jan/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0 |
| Fix Version/s: | Lustre 2.11.0, Lustre 2.10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Chris Hanna | Assignee: | Kit Westneat |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||
| Severity: | 4 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
When the Shared Key feature of Lustre is active, and the Nodemap "admin" property for a nodemap is set to 0, Lustre does not restrict access to that nodemap as it normally would without Shared Key. Examples of this issue occurring can be found in tests 17, 18, and 20-23 of sanity-sec in the testing framework of the following run: This may be replicated on a system with Shared Key and Nodemap features enabled, by setting all nodemap admin and trusted properties to 0. Under these conditions, the system does not fully limit root access. The error returned by the test framework is: The "0 0" desired by this test is the output of do_create_delete() from the sanity-sec.sh suite in the testing framework. This function attempts to touch, and then remove, a file. Since it should not be able to do either, the test fails since both operations are permitted. Other tests of the same nature fail for similar reasons. |
| Comments |
| Comment by Andreas Dilger [ 01/Mar/17 ] |
|
Chris, are Kit or Jeremy still available to work on this? |
| Comment by Chris Hanna [ 10/Mar/17 ] |
|
Hi Andreas, Kit mentioned he may take a look at this next week. Kerberos is affected in the same manner as SSK. |
| Comment by Gerrit Updater [ 14/Apr/17 ] |
|
Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: https://review.whamcloud.com/26624 |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26624/ |
| Comment by Minh Diep [ 09/Jan/18 ] |
|
Landed for 2.11 |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30812 |
| Comment by Gerrit Updater [ 26/Feb/18 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30812/ |
| Comment by Andreas Dilger [ 27/Aug/19 ] |
|
No tests are currently reported as skipped because of this ticket. |