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 1441743 - [docker spec] Get rid of MountFlags=slave on RHEL7.4 kernel onwards
Summary: [docker spec] Get rid of MountFlags=slave on RHEL7.4 kernel onwards
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On: 1441737 1468249
Blocks: 1542672
TreeView+ depends on / blocked
 
Reported: 2017-04-12 15:20 UTC by Vivek Goyal
Modified: 2023-09-14 03:56 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1542672 (view as bug list)
Environment:
Last Closed: 2018-04-11 00:01:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1071 0 None None None 2018-04-11 00:02:39 UTC

Description Vivek Goyal 2017-04-12 15:20:30 UTC
Description of problem:

Right now we have MountFlags=slave in docker.service systemd unit file for RHEL. RHEL7.4 has now some kernel patches which can allow docker daemon to run in host mount namespace and we can get rid of MountFlags=slave there.

So modify docker.service unit file and get rid of MountFlags=slave. But tricky
part is that this change should take affect only for rhel7.4 and higher kernels.
If anybody takes docker package and installs on rhel7.3, they should still get
a unit file which has MountFlags=slave

I am assuming that we can do some magic in spec file and figure out product
version and install appropriate docker.service file accordingly.

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 2017-05-31 19:35:16 UTC
We will not do this until 7.5.

Comment 3 muahao 2017-11-17 03:39:58 UTC
Hello, can you tell me which kernel patchs backported at redhat 7.4 to solve this problem ? Thanks ~

Comment 4 Jan Safranek 2018-01-25 09:28:16 UTC
(In reply to Daniel Walsh from comment #2)
> We will not do this until 7.5.

It's 3.5 time and Mount=slave is still in docker service file.
We need no extra mount namespace in docker (or rshared namespace) for OpenShift 3.9 and onwards.

Docker containers must be able to run with `-v /var/lib/origin:/var/lib/origin:rshared` and OpenShift on the host must see mounts created by these containers.

Comment 13 errata-xmlrpc 2018-04-11 00:01:10 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/RHBA-2018:1071

Comment 14 Red Hat Bugzilla 2023-09-14 03:56:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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