Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1297929

Summary: Enable Docker SELinux enforcing mode with Overlayfs
Product: Red Hat Enterprise Linux 7 Reporter: Subhendu Ghosh <sghosh>
Component: kernelAssignee: Miklos Szeredi <mszeredi>
kernel sub component: File Systems - Other QA Contact: Murphy Zhou <xzhou>
Status: CLOSED ERRATA Docs Contact: Marek Suchánek <msuchane>
Severity: medium    
Priority: high CC: bbreard, brubisch, coughlan, cye, dornelas, dwalsh, eguan, erich, esandeen, ghelleks, jeder, lfriedma, lmiksik, mifiedle, mmalik, mmcgrath, mnavrati, mszeredi, owalsh, swhiteho, vgoyal
Version: 7.3   
Target Milestone: beta   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: aos-scalability-34
Fixed In Version: kernel-3.10.0-517.el7 Doc Type: Release Note
Doc Text:
SELinux security labels are now supported on the OverlayFS file system With this update, the OverlayFS file system now supports SELinux security labels. When using Docker containers with the OverlayFS storage driver, you no longer have to configure Docker to disable SELinux support for the containers.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 20:05:02 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: 1178944    
Bug Blocks: 1154205, 1203710, 1295567, 1295577, 1298243, 1313485, 1385242, 1411772    

Description Subhendu Ghosh 2016-01-12 19:24:07 UTC
The RHEL 7.2 recommend configuration is disable SELinux for the Docker daemon. Need to remove this restriction for Docker.

Comment 1 Mike McGrath 2016-01-14 13:47:34 UTC
I know we have customers looking to use overlayfs and having to disable SELinux makes for a bad security story for us.

Comment 6 Tom Coughlan 2016-02-18 19:51:26 UTC
*** Bug 1178944 has been marked as a duplicate of this bug. ***

Comment 7 Miklos Szeredi 2016-06-30 18:18:14 UTC
This won't make it to 7.3 as patches are not ready yet.

However things are progressing nicely and the feature should be ready for upstream kernel 4.8 or 4.9.

Comment 14 Rafael Aquini 2016-11-01 00:29:55 UTC
Patch(es) committed on kernel repository and an interim kernel build is undergoing testing

Comment 16 Rafael Aquini 2016-11-01 14:37:39 UTC
Patch(es) available on kernel-3.10.0-517.el7

Comment 45 errata-xmlrpc 2017-08-01 20:05:02 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, 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-2017:1842

Comment 46 errata-xmlrpc 2017-08-02 00:33:29 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, 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-2017:1842