https://bugzilla.redhat.com/show_bug.cgi?id=1124017
Bug ID: 1124017
Summary: 'go get' does not work on bare metal, does inside
docker container
Product: Fedora
Version: 20
Component: golang
Assignee: vbatts(a)redhat.com
Reporter: admiller(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
lemenkov(a)gmail.com, lsm5(a)fedoraproject.org,
renich(a)woralelandia.com, s(a)shk.io, vbatts(a)redhat.com
Description of problem:
When I attempt to run the 'go get' command from a 'bare metal' install of
Fedora 20, I get the following error:
go install runtime/cgo: open /usr/lib/golang/pkg/linux_amd64/runtime/cgo.a:
permission denied
Version-Release number of selected component (if applicable):
golang-1.2.2-9.fc20.x86_64
How reproducible:
Always
Steps to Reproduce:
1. yum -y install golang
2. go get
code.google.com/p/goauth2/oauth
Actual results:
Error.
Expected results:
Go to pull the third party code into GOPATH
Additional info:
This seems to work just fine when run inside a docker container but fails on
basre metal. I thought it was SELinux at first but I don't see any AVC Denials
being logged when this occurs so I'm not certain what's going on here.
LAPTOP
$ rpm -qa | grep golang
golang-vim-1.2.2-9.fc20.noarch
golang-gotype-0-0.3.hg17c8fe23290a.fc20.x86_64
golang-pkg-linux-amd64-1.2.2-9.fc20.noarch
golang-vet-0-0.3.hg17c8fe23290a.fc20.x86_64
golang-pkg-bin-linux-amd64-1.2.2-9.fc20.x86_64
golang-src-1.2.2-9.fc20.noarch
golang-1.2.2-9.fc20.x86_64
$ go get
code.google.com/p/goauth2/oauth
go install runtime/cgo: open /usr/lib/golang/pkg/linux_amd64/runtime/cgo.a:
permission denied
$
DOCKER CONTAINER
bash-4.2# rpm -qa | grep golang
golang-src-1.2.2-9.fc20.noarch
golang-pkg-linux-amd64-1.2.2-9.fc20.noarch
golang-1.2.2-9.fc20.x86_64
golang-pkg-bin-linux-amd64-1.2.2-9.fc20.x86_64
bash-4.2# go get
code.google.com/p/goauth2/oauth
bash-4.2#
--
You are receiving this mail because:
You are on the CC list for the bug.