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 1723491

Summary: regression: docker cp: Rel: can't make /..../a relative to a
Product: Red Hat Enterprise Linux 7 Reporter: Ed Santiago <santiago>
Component: dockerAssignee: Giuseppe Scrivano <gscrivan>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.6CC: amurdaca, bbaude, dornelas, lsm5, mpatel, pasik, santiago, tsweeney
Target Milestone: rcKeywords: Extras, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: docker-1.13.1-102.git7f2769b.el7_6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-29 16:17:48 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: 1697833, 1717087    

Description Ed Santiago 2019-06-24 16:25:21 UTC
docker-1.13.1-99.gite467576.el7 has a regression:

  # docker run --name foo alpine touch /a
  # docker cp foo:a /tmp/b
  Error response from daemon: Rel: can't make /var/lib/docker/overlay2/ff010e78b2cddbbfe2e9768b43f7094f0b15322219bd061d3d39293e7e650279/merged/a relative to a

Comment 4 Tom Sweeney 2019-06-27 00:03:10 UTC
PR submited:  https://github.com/projectatomic/docker/pull/347

Comment 5 Tom Sweeney 2019-06-27 14:43:51 UTC
We may still want to hold on this one.  Just had a report that `docker cp testfile testctr:/tmp` is no longer copying the file to host (good), but is not copying it into the container either.  Investigating.

Comment 6 Tom Sweeney 2019-06-27 18:13:07 UTC
Steps that should work but are not at the moment.


    # docker run -t -i --name testctr --rm fedora bash

    //Inside the container:
    [root@ctrid /]# ln -s /tmp /test

    //Outside the container:
    # touch testfile; docker cp testfile testctr:/test

    //In the container,
    # ls /tmp

    // Outside the container,
    # ls /tmp

End result the file "testfile" is shown in the ls within the container, but NOT with the ls outside the container.  Currently it is not showing in either place.

Comment 7 Tom Sweeney 2019-06-30 17:52:44 UTC
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1717087

Comment 8 Tom Sweeney 2019-06-30 18:19:33 UTC
PR submitted https://github.com/projectatomic/docker/pull/348

Comment 11 Ed Santiago 2019-07-11 16:30:12 UTC
Confirm fixed in docker-1.13.1-102.git7f2769b.el7.x86_64

Comment 13 errata-xmlrpc 2019-07-29 16:17:48 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-2019:1910