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 1259342 - docker: Fail to start if selinux is enabled and overlayfs is being used as graph driver
Summary: docker: Fail to start if selinux is enabled and overlayfs is being used as gr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Sally
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1295567
TreeView+ depends on / blocked
 
Reported: 2015-09-02 12:23 UTC by Vivek Goyal
Modified: 2019-03-06 02:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-31 23:22:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0536 0 normal SHIPPED_LIVE docker bug fix and enhancement update 2016-04-01 03:19:56 UTC

Description Vivek Goyal 2015-09-02 12:23:10 UTC
Description of problem:

Currently overlayfs does not work with selinux. By default selinux is enabled and if user chooses to use overlay as graph driver, there will be issues.

Modify docker so that it detects this situation during start and fails with appropriate error message.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Daniel Walsh 2015-09-02 15:16:46 UTC
Sally we already do this for BTRFS, you should just search the code and make the same change.

Comment 3 Sally 2015-09-02 19:56:08 UTC
submitted https://github.com/docker/docker/pull/16025

Comment 4 Vivek Goyal 2015-09-03 13:18:25 UTC
sally, has it been merged into docker we ship in rhel? MODIFIED flag means that patch has been committed in the source tree of redhat rpm.

Comment 5 Vivek Goyal 2015-09-03 13:19:06 UTC
Or rather, an rpm build has been done and rpm is available for testing. Then we will call it MODIFIED.

Comment 6 Sally 2015-09-03 13:32:16 UTC
Sorry for the confusion!  Dan also pointed out my misuse of 'MODIFIED'..
Now I know :)

Comment 7 Sally 2015-09-03 20:35:12 UTC
https://github.com/docker/docker/pull/16025 merged

Comment 8 Daniel Walsh 2015-09-28 18:41:47 UTC
Fixed in docker-1.9

Comment 10 Luwen Su 2016-02-03 08:49:29 UTC
In docker-1.9.1-15.el7.x86_64

# docker daemon --storage-driver=overlay
INFO[0000] Firewalld running: false                     
INFO[0000] Default bridge (docker0) is assigned with an IP address 172.17.0.1/16. Daemon option --bip can be used to set a preferred IP address 

# docker daemon --selinux-enabled --storage-driver=overlay
FATA[0000] Error starting daemon: SELinux is not supported with the overlay graph driver

Comment 12 errata-xmlrpc 2016-03-31 23:22: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://rhn.redhat.com/errata/RHBA-2016-0536.html


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