[LU-7661] MGS_SET_INFO handler is too permissive Created: 13/Jan/16  Updated: 10/Sep/16  Resolved: 21/Jan/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Critical
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: mgs

Issue Links:
Related
is related to LU-7660 FS default striping settings only hon... Resolved
is related to LU-3289 IU Shared Secret Key authentication a... Resolved
is related to LU-8454 non-root user is able to change strip... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The handler for MGS_SET_INFO is needed only for the hack where setting the default striping on the root directory sets the default striping of the FS. It only needs to handle '*.lov.stripe{count,size,offset}=*'. So we should only allow those params to be set.



 Comments   
Comment by Gerrit Updater [ 13/Jan/16 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/17982
Subject: LU-7661 mgs: restrict MGS_SET_INFO to stripe parameters
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 74b293f1c058776f1b92182a3a9145cf67f89007

Comment by Joseph Gmitter (Inactive) [ 14/Jan/16 ]

Assigning to John as he already has a fix in flight

Comment by Gerrit Updater [ 21/Jan/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17982/
Subject: LU-7661 mgs: restrict MGS_SET_INFO to stripe parameters
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ff577af11b3eb96fbdb2de7af0cdf78ad6c8ec56

Comment by Joseph Gmitter (Inactive) [ 21/Jan/16 ]

Landed for 2.8

Generated at Sat Feb 10 02:10:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.