https://bugzilla.redhat.com/show_bug.cgi?id=1096076

            Bug ID: 1096076
           Summary: ADDing file to symlinked /bin hangs, docker process
                    spinning at 100 % CPU
           Product: Fedora
           Version: 20
         Component: docker-io
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected], [email protected]



Description of problem:

On Fedora 20, /bin is a symlink to usr/bin. When Dockerfile tries to ADD file
to /bin, the process will hang, with the daemon spinning at 100 % CPU.

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

docker-io-0.11.1-1.fc20.x86_64
Seen on 0.10* as well.

How reproducible:

Deterministic.

Steps to Reproduce:
1. echo test > testfile
2. have Dockerfile with
    FROM fedora:20
    ADD testfile /bin/testfile
3. run docker build -t test-symlink .

Actual results:

Uploading context 4.608 kB
Uploading context 
Step 0 : FROM fedora:20
 ---> b7de3133ff98
Step 1 : ADD testfile /bin/testfile

and that's it, top in another terminal shows 

Expected results:

# docker build -t test-symlink .
Uploading context 5.632 kB
Uploading context 
Step 0 : FROM fedora:20
 ---> b7de3133ff98
Step 1 : ADD testfile /bin/testfile
 ---> 6fb52b6363f7
Removing intermediate container 11254a256eb7
Successfully built 6fb52b6363f7
#

Additional info:

ADD to /usr/bin/testfile works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to