Bug 1248176

Summary: go1.5beta2 and docker: hardlinks are failing
Product: [Fedora] Fedora Reporter: Vincent Batts <vbatts>
Component: golangAssignee: Vincent Batts <vbatts>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: admiller, golang-updates, lemenkov, renich, s, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-25 18:01:20 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:

Description Vincent Batts 2015-07-29 19:29:59 UTC
Description of problem:


Version-Release number of selected component (if applicable):
go1.5beta2 and docker-1.8.0-dev

How reproducible:
pretty consistent

Steps to Reproduce:
1. build a docker daemon with the go1.5beta2 compiler
2. do something that causes docker to copy hardlinks through a tar archive (e.g. `make test` docker itself with this new daemon binary)
3.

Actual results:
ApplyLayer exit status 1 stdout:  stderr: link / /sbin/btrfs: operation not permitted

Expected results:
no failure


Additional info:

Comment 1 Vincent Batts 2015-07-30 17:58:13 UTC
https://github.com/docker/docker/issues/15164

Comment 2 Vincent Batts 2015-08-25 18:01:20 UTC
fixed in upstream golang for the go1.5 release. 
https://github.com/golang/go/commit/a1d093d95dfb888e55f960943bd3ad3d181ec743