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@redhat.com Reporter: jpazdziora@redhat.com QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, golang@lists.fedoraproject.org, lsm5@redhat.com, mattdm@redhat.com, mgoldman@redhat.com, s@shk.io, vbatts@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.
https://bugzilla.redhat.com/show_bug.cgi?id=1096076
Jan Pazdziora jpazdziora@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Regression CC| |jpazdziora@redhat.com
--- Comment #1 from Jan Pazdziora jpazdziora@redhat.com --- I should add: it is a regression against docker-io-0.9 so it has the potential of hitting people who were happily using ADD to /bin in the past.
https://bugzilla.redhat.com/show_bug.cgi?id=1096076
--- Comment #2 from Daniel Walsh dwalsh@redhat.com --- Could you check if this is fixed in docker-io-0.11.1-2.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=1096076
--- Comment #3 from Jan Pazdziora jpazdziora@redhat.com --- (In reply to Daniel Walsh from comment #2)
Could you check if this is fixed in docker-io-0.11.1-2.fc20
I don't see this fixed with docker-io-0.11.1-3.fc20.x86_64.
https://bugzilla.redhat.com/show_bug.cgi?id=1096076
Daniel Walsh dwalsh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|lsm5@redhat.com |mheon@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1096076
--- Comment #4 from Matthew Heon mheon@redhat.com --- Issue is fixed in upstream - build of their Git master does not have this issue. I'll identify the patch so we can carry it until the next upstream release.
https://bugzilla.redhat.com/show_bug.cgi?id=1096076
--- Comment #5 from Daniel Walsh dwalsh@redhat.com --- Well we should be rebasing as soon as they release. Rather then carry the patch.
https://bugzilla.redhat.com/show_bug.cgi?id=1096076
Matthew Heon mheon@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #6 from Matthew Heon mheon@redhat.com --- This is fixed in docker-io-1.0.0-1, which just made it into updates-testing.
https://bugzilla.redhat.com/show_bug.cgi?id=1096076
Jan Pazdziora jpazdziora@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Fixed In Version| |docker-io-1.0.0-1.fc20 Resolution|--- |CURRENTRELEASE Last Closed| |2014-06-25 07:37:17
--- Comment #7 from Jan Pazdziora jpazdziora@redhat.com --- I confirm the issue fixed.
golang@lists.fedoraproject.org