[LU-9578] having security_dentry_init_security doesn't mean it's enabled Created: 01/Jun/17  Updated: 15/Nov/17  Resolved: 24/Oct/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: Lustre 2.11.0, Lustre 2.10.2

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by LU-10130 mkdir returns -95 EOPNOTSUPP with 2.1... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

LU-8956 introduced security context support, but Lustre stops to work if the corresponding feature is not enabled in the kernel.



 Comments   
Comment by Gerrit Updater [ 01/Jun/17 ]

Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: https://review.whamcloud.com/27364
Subject: LU-9578 llite: use security context if it's enabled in the kernel
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2ceabf014b5e48a4ed287bf9048d8f20a1b374e1

Comment by John Hammond [ 01/Jun/17 ]

Alex, are you building Lustre on a kernel without CONFIG_SECURITY? Could you describe the error/behavior that you see?

Comment by Alex Zhuravlev [ 02/Jun/17 ]

right, CONFIG_SECURITY is not defined in my setup. i'm getting -95 in many cases like file creations.

Comment by Gerrit Updater [ 24/Oct/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27364/
Subject: LU-9578 llite: use security context if it's enabled in the kernel
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 61f26ea47f96632a90702f2b404e845a01498612

Comment by Peter Jones [ 24/Oct/17 ]

Landed for 2.11

Comment by Gerrit Updater [ 24/Oct/17 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29737
Subject: LU-9578 llite: use security context if it's enabled in the kernel
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 4ceed178648772ca6f169e6fc535e79dc82c4799

Comment by Gerrit Updater [ 15/Nov/17 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29737/
Subject: LU-9578 llite: use security context if it's enabled in the kernel
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: b9e299a98dd8d7fd9b5754dcc9aff565b3004abd

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