RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1823764 - RFE: Enable genfs+xattr labeling for CephFS
Summary: RFE: Enable genfs+xattr labeling for CephFS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel
Version: 8.2
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: 8.3
Assignee: Ondrej Mosnacek
QA Contact: Milos Malik
Jan Fiala
URL:
Whiteboard:
Depends On: 1814668 1865800
Blocks: 1814689
TreeView+ depends on / blocked
 
Reported: 2020-04-14 12:53 UTC by Ondrej Mosnacek
Modified: 2021-08-26 17:55 UTC (History)
5 users (show)

Fixed In Version: kernel-4.18.0-198.el8
Doc Type: Enhancement
Doc Text:
.Individual CephFS files and directories can now have SELinux labels The Ceph File System (CephFS) has recently enabled storing SELinux labels in the extended attributes of files. Previously, all files in a CephFS volume were labeled with a single common label `system_u:object_r:cephfs_t:s0`. With this enhancement, you can change the labels for individual files, and SELinux defines the labels of newly created files based on transition rules. Note that previously unlabeled files still have the `system_u:object_r:cephfs_t:s0` label until explicitly changed.
Clone Of:
Environment:
Last Closed: 2020-11-04 01:14:08 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondrej Mosnacek 2020-04-14 12:53:51 UTC
As discussed in BZ 1814689, we want to enable CephFS to use xattr for storing labels, but at the same time keep cephfs_t as default label for files without a label (for backwards compatibility).

To enable this, we need to make small RHEL-only changes to the kernel and selinux-policy. This BZ tracks the kernel part - to add "ceph" to the list of filesystems for which combined genfs + xattrs labeling is used. The policy part is tracked in BZ 1814689.

Comment 6 Frantisek Hrbata 2020-05-13 07:44:45 UTC
Patch(es) available on kernel-4.18.0-198.el8

Comment 24 errata-xmlrpc 2020-11-04 01:14:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: kernel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4431

Comment 25 Dan Yocum 2021-08-26 17:55:16 UTC
What version of OCP did this RHSA make it into?


Note You need to log in before you can comment on or make changes to this bug.