Bug 1767402

Summary: allow cephfs to provide contexts via xattr
Product: Red Hat Enterprise Linux 8 Reporter: Jeff Layton <jlayton>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: high    
Version: 8.1CC: dwalsh, extras-qa, lvrabec, mgrepl, mmalik, plautrba, ssekidde, zpytela
Target Milestone: rcKeywords: Triaged
Target Release: 8.3   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1767401 Environment:
Last Closed: 2020-03-25 12:48:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1767401    
Bug Blocks:    

Description Jeff Layton 2019-10-31 11:45:36 UTC
+++ This bug was initially created as a clone of Bug #1767401 +++

cephfs recently grew the ability to handle selinux contexts via its xattr infrastructure:

    https://github.com/uli/kernel/commit/ac6713ccb5a6d13b59a2e3fda4fb049a2c4e0af2

Fix the selinux-policy to allow this to work instead of setting a context on the whole mountpoint.

Comment 1 Lukas Vrabec 2019-10-31 12:10:43 UTC
Pull request for Fedora: https://github.com/fedora-selinux/selinux-policy/pull/289