Bug 1603201
| Summary: | [Regression] docker can't bindmount symbolic links to namespaces (/proc/PID/ns/*) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Sergio Lopez <slopezpa> |
| Component: | docker | Assignee: | Frantisek Kluknavsky <fkluknav> |
| Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.5 | CC: | aivaraslaimikis, amurdaca, dornelas, dzhukous, fkluknav, gscrivan, lfriedma, lsm5, lsu, pdwyer, sauchter |
| Target Milestone: | rc | Keywords: | Extras, Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, bind mounts were resolved before using them inside a container. Consequently, symlinks could not be mounted inside of the container. With this update, the source of a bind mount is not resolved. As a result, it is possible to bind mount symlinks again into a container.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-08-16 16:05:57 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: | |||
| Bug Blocks: | 1186913, 1571903 | ||
|
Description
Sergio Lopez
2018-07-19 12:41:53 UTC
Pull requests here: https://github.com/projectatomic/docker/pull/316 https://github.com/projectatomic/docker/pull/317 Sergio, we are using this feature in the docker system container, so this is probably not useful upstream. Hi Giuseppe, Thanks for the explanation and the quick fix. I'll create a test build once the PRs are merged. Sergio (slp). Package version: docker-1.13.1-74.git6e3bb8e.el7.x86_64 # docker run --privileged -it -v /proc/1/ns/net:/aaa rhel7 /bin/bash [root@ab28cbc039d9 /]# ls /aaa /aaa [root@ab28cbc039d9 /]# exit exit 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-2018:2482 |