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