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: lsm5(a)redhat.com
Reporter: jpazdziora(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
lsm5(a)redhat.com, mattdm(a)redhat.com,
mgoldman(a)redhat.com, s(a)shk.io, vbatts(a)redhat.com
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.