[Bug 1022983] New: Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983

Bug ID: 1022983
   Summary: Consider updating Rawhide to Go 1.2 release candidate
   Product: Fedora
   Version: rawhide
 Component: golang
  Assignee: a...@spicenitz.org
  Reporter: mat...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: a...@spicenitz.org, admil...@redhat.com,
golang@lists.fedoraproject.org, lemen...@gmail.com,
ren...@woralelandia.com



Go 1.2 is in code freeze, with a release date scheduled for December 1.

Go 1.2 release candidate 2 was released last week:
https://groups.google.com/forum/#!topic/Golang-Nuts/5enxY7gSLB4

I think we should update golang in Rawhide (but not F20 or F19) to the release
candidate, so we can start testing builds against it and making any necessary
adjustments.

For docker's in-container init process, we need the go-net libs but we also
want the binary to be static; this isn't possible in 1.1 but will be in 1.2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=OrJBJhyrxQ&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983

Peter Lemenkov  changed:

   What|Removed |Added

 CC|golang@lists.fedoraproject. |
   |org |
 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=fCGXa3vB9j&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #1 from Peter Lemenkov  ---
Love the idea! Actually I'd rather update golang in F20 as well not just in
F21/Rawhide.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=zJbPAebJ6Z&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983

Peter Lemenkov  changed:

   What|Removed |Added

URL||http://tip.golang.org/doc/g
   ||o1.2



-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=9WEKaHhcuV&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #2 from Matthew Miller  ---
(In reply to Peter Lemenkov from comment #1)
> Love the idea! Actually I'd rather update golang in F20 as well not just in
> F21/Rawhide.

I think that's a little risky with the F20 schedule, where our release is
scheduled for just 2 days after theirs (and our bits will have to all be in
place the week before, for mirroring). So, we'd be shipping a RC with F20.
We've done such things before, but in my opinion it'd best to do a post-release
update.

But if the RC does seem to be stable and works with the packages we're shipping
(currently to my knowledge, just etcd and docker real-soon-now), maybe it's
worth the risk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=p1pnvqYUbw&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #3 from Matthew Miller  ---
Although I see that as I was writing this, the beta slipped by a week, pushing
everything back. If it slips by _another_ week and Go stays on schedule (and
from their docs it looks like they have a hard commitment to doing so), there
may be no issue at all. But I suppose we shouldn't plan on that. :)

We could do the update in Rawhide now and then decide on what to do for F20
after the beta has shipped. Normally I'd frown on that (because we are totally
going around the whole release management process) but this is pretty clearly
on the fringe/bleeding edge and we know it doesn't affect anything else.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=OkRNa2QO77&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #4 from Adam Miller  ---
Go 1.2 builds on F20 but appears to fail one of the tests ... I'm going to look
into it more as I find time but didn't want to remain silent on the BZ.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=QmXx8PoKBH&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #5 from Matthew Miller  ---
(In reply to Adam Miller from comment #4)
> Go 1.2 builds on F20 but appears to fail one of the tests ... I'm going to
> look into it more as I find time but didn't want to remain silent on the BZ.

In the specfile (in both %build and %check) we have 

export PATH="$PATH":"$GOROOT"/bin

which means that the system path is first, and so if you have another go
package installed that gets called first in the tests. Is that what you're
running into? Try making it

export PATH=$GOROOT/bin:$PATH

(Quotes shouldn't be necessary, but whatever.)

On my F19 and F20 systems, with that switched, the tests pass. (And they don't
pass if I have the older golang installed and the path the other way.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=P6DZ9xEugx&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #6 from Adam Miller  ---
I was building in mock which shouldn't have had any other version of Go
installed in the chroot.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=HKLnrquJLd&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #7 from Adam Miller  ---
For reference, this is the issue I'm seeing building in mock:

--- FAIL: TestCgoTraceback (0.83 seconds)
crash_cgo_test.go:33: expected "OK\n", but got "#
command-line-arguments\n/tmp/go-build563671405/main.go: In 
function '_cgo_65eb2f8ba551_Cfunc_foo':\n/tmp/go-build563671405/main.go:31:49:
warning: unused variable 'a' [-Wunused
-variable]\nOK\n"
FAIL
FAILruntime 15.451s

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=hM97C7q7j5&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #8 from Matthew Miller  ---
(In reply to Adam Miller from comment #6)
> I was building in mock which shouldn't have had any other version of Go
> installed in the chroot.

Aw, too bad, because that's an easy fix. (It should probably be changed in the
specfile anyway.)  I'll dig deeper.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=BAU2VTJTA3&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #9 from Adam Miller  ---
Also, because I'm bad at making a complete thought before commenting on this
particular BZ here is the SRPM I have that fails that test in mock for both F20
and Rawhide

http://maxamillion.fedorapeople.org/golang-1.2rc2-1.fc19.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=6IanttUdnK&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-10-24 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #10 from Matthew Miller  ---
(In reply to Adam Miller from comment #7)
> For reference, this is the issue I'm seeing building in mock:
> 
> --- FAIL: TestCgoTraceback (0.83 seconds)
> crash_cgo_test.go:33: expected "OK\n", but got "#
> command-line-arguments\n/tmp/go-build563671405/main.go: In 
> function
> '_cgo_65eb2f8ba551_Cfunc_foo':\n/tmp/go-build563671405/main.go:31:49:
> warning: unused variable 'a' [-Wunused
> -variable]\nOK\n"
> FAIL
> FAILruntime 15.451s

Okay, yeah, I can reproduce this when I'm trying to update the RPM rather than
just building it by hand. When I comment out the "mygcc" part, though, it works
fine. So, it's something to do with that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=hybyyjvTuJ&a=cc_unsubscribe
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023776] Review Request: eclus - An Erlang Port Mapping Daemon service

2013-10-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023776

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023771] Review Request: golang-github-goerlang-epmd - Erlang Port Mapper Daemon protocol

2013-10-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023771

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023773] Review Request: golang-github-goerlang-node - An implementation of Erlang node

2013-10-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023773

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023769] Review Request: golang-github-goerlang-dist - An implementation of Erlang node

2013-10-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023769

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023772] Review Request: golang-github-goerlang-etf - Erlang external term format encoding/decoding for Go

2013-10-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023772

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023774] Review Request: golang-github-goerlang-port - Simple API to write Erlang ports in Go

2013-10-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023774

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023769] Review Request: golang-github-goerlang-dist - An implementation of Erlang node

2013-10-29 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023769

Mario Blättermann  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||mario.blaetterm...@gmail.co
   ||m
   Assignee|nob...@fedoraproject.org|mario.blaetterm...@gmail.co
   ||m
  Flags||fedora-review?



--- Comment #1 from Mario Blättermann  ---
Taking this for a full review.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023771] Review Request: golang-github-goerlang-epmd - Erlang Port Mapper Daemon protocol

2013-10-29 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023771

Mario Blättermann  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||mario.blaetterm...@gmail.co
   ||m
   Assignee|nob...@fedoraproject.org|mario.blaetterm...@gmail.co
   ||m
  Flags||fedora-review?



--- Comment #1 from Mario Blättermann  ---
Taking this for a full review.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023769] Review Request: golang-github-goerlang-dist - An implementation of Erlang node

2013-10-29 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023769



--- Comment #2 from Mario Blättermann  ---
Scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6114012

$ rpmlint -i -v *golang-github-goerlang-dist.src: I: checking
golang-github-goerlang-dist.src: I: checking-url
https://github.com/goerlang/dist (timeout 10 seconds)
golang-github-goerlang-dist.src:5: W: mixed-use-of-spaces-and-tabs (spaces:
line 5, tab: line 1)
The specfile mixes use of spaces and tabs for indentation, which is a cosmetic
annoyance.  Use either spaces or tabs for indentation, not both.

golang-github-goerlang-dist.src: I: checking-url
https://github.com/goerlang/dist/archive/453dec63ea12c128128f9d91b11a82dd570119a0.tar.gz
(timeout 10 seconds)
golang-github-goerlang-dist-devel.noarch: I: checking
golang-github-goerlang-dist-devel.noarch: W: summary-ended-with-dot C An
implementation of Erlang node.
Summary ends with a dot.

golang-github-goerlang-dist-devel.noarch: I: checking-url
https://github.com/goerlang/dist (timeout 10 seconds)
golang-github-goerlang-dist.spec:5: W: mixed-use-of-spaces-and-tabs (spaces:
line 5, tab: line 1)
The specfile mixes use of spaces and tabs for indentation, which is a cosmetic
annoyance.  Use either spaces or tabs for indentation, not both.

golang-github-goerlang-dist.spec: I: checking-url
https://github.com/goerlang/dist/archive/453dec63ea12c128128f9d91b11a82dd570119a0.tar.gz
(timeout 10 seconds)
2 packages and 1 specfiles checked; 0 errors, 3 warnings.


There's one rather cosmetic problem in your spec file. I suggest to use spaces,
this way the spec file looks the same in all text editors, regardless of the
configured tab width.

I'm not really happy with the folder ownerships. It seems all your
golang-github-goerlang-* packages own the folder path
/usr/share/gocode/src/github.com/goerlang. Well, we have some cases where
packages may do so, for example for gtk-doc. But in this early state of
packaging, you could create a dummy package named
golang-github-goerlang-filesystem which owns this folder. I assume the
arch-dependent packages in Fedora >=19 and EPEL >=7 use the same folder, so
there we couldn't get any problems with.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026045] New: enable container networking (temporary solution for dm branch)

2013-11-02 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026045

Bug ID: 1026045
   Summary: enable container networking (temporary solution for dm
branch)
   Product: Fedora
   Version: rawhide
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: l...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Description of problem: container networking doesn't work by default 


Version-Release number of selected component (if applicable): docker-io 0.7.dm


How reproducible: iiuc, this occurs in the presence of a firewall (Matt,
correct me if I'm wrong)


Steps to Reproduce:
1. install docker-io, and enter a container
2. try any command which requires network connections (ping, yum, ssh)
3. feel the pain


Josh has a pull request against the master branch here:
https://github.com/dotcloud/docker/pull/2527 which is a little painful to apply
against dm, so I used the ACCEPT rules in his patch in the docker.service file,
so the current file looks like: 

docker.service---
[Unit]
Description=Docker container management daemon

[Service]
Type=simple
ExecStartPre=/usr/sbin/sysctl -w net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
ExecStartPre=iptables -I FORWARD -o docker0 -m conntrack --ctstate
RELATED,ESTABLISHED -j ACCEPT
ExecStartPre=iptables -l FORWARD -i docker0 ! -o docker0 -j ACCEPT
ExecStart=/usr/bin/docker -d
Restart=on-failure

[Install]
WantedBy=multi-user.target
docker.service---

this seems to solve the problem for now, and if I'm not mistaken, isn't
harmful. 

Comments?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026045] enable container networking (temporary solution for dm branch)

2013-11-02 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026045



--- Comment #1 from Lokesh Mandvekar  ---
I think I spoke too soon. This unit file doesn't work as expected. I'll get
back soon with an update hopefully. Sorry about that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026045] enable container networking (temporary solution for dm branch)

2013-11-02 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026045



--- Comment #2 from Lokesh Mandvekar  ---
This should work:

[Unit]
Description=Docker container management daemon

[Service]
Type=simple
ExecStartPre=/usr/sbin/sysctl -w net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
ExecStart=/usr/bin/docker -d
ExecStartPost=/usr/sbin/iptables -I FORWARD -o docker0 -m conntrack --ctstate
RELATED,ESTABLISHED -j ACCEPT
ExecStartPost=/usr/sbin/iptables -I FORWARD -i docker0 ! -o docker0 -j ACCEPT
Restart=on-failure

[Install]
WantedBy=multi-user.target

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026045] enable container networking (temporary solution for dm branch)

2013-11-03 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026045

Peter  changed:

   What|Removed |Added

 CC||p...@gentoo.org



--- Comment #3 from Peter  ---
Lokesh, but what will disable this iptables rules on stop?

Also you've referenced patch and as I see it adds similar functionality into
docker. Why these rules are required in unit file?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026045] enable container networking (temporary solution for dm branch)

2013-11-03 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026045



--- Comment #4 from Lokesh Mandvekar  ---
(In reply to Peter from comment #3)
> Lokesh, but what will disable this iptables rules on stop?

Perhaps the disable rules could be added to ExecStopPost in the unit file.
And since it only concerns the docker0 interface, it probably won't mess with
anything else.

> 
> Also you've referenced patch and as I see it adds similar functionality into
> docker. Why these rules are required in unit file?

So Josh's patch was for the master branch(which doesn't have devicemapper), but
we're using the dm branch. Once Josh's patch makes it into some branch with
devicemapper, I'll get rid of those rules in the unit file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026045] enable container networking (temporary solution for dm branch)

2013-11-03 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026045



--- Comment #5 from Lokesh Mandvekar  ---
(In reply to Lokesh Mandvekar from comment #4)
> (In reply to Peter from comment #3)
> > Lokesh, but what will disable this iptables rules on stop?
> 
> Perhaps the disable rules could be added to ExecStopPost in the unit file.
> And since it only concerns the docker0 interface, it probably won't mess
> with anything else.

s/ExecStopPost/ExecStopPre

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023769] Review Request: golang-github-goerlang-dist - An implementation of Erlang node

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023769

Peter Lemenkov  changed:

   What|Removed |Added

 Depends On||1010713




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1010713
[Bug 1010713] create and own %{_datadir}/gocode and %{_datadir}/gocode/src
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023773] Review Request: golang-github-goerlang-node - An implementation of Erlang node

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023773

Peter Lemenkov  changed:

   What|Removed |Added

 Depends On||1010713




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1010713
[Bug 1010713] create and own %{_datadir}/gocode and %{_datadir}/gocode/src
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023771] Review Request: golang-github-goerlang-epmd - Erlang Port Mapper Daemon protocol

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023771

Peter Lemenkov  changed:

   What|Removed |Added

 Depends On||1010713




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1010713
[Bug 1010713] create and own %{_datadir}/gocode and %{_datadir}/gocode/src
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023774] Review Request: golang-github-goerlang-port - Simple API to write Erlang ports in Go

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023774

Peter Lemenkov  changed:

   What|Removed |Added

 Depends On||1010713




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1010713
[Bug 1010713] create and own %{_datadir}/gocode and %{_datadir}/gocode/src
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023772] Review Request: golang-github-goerlang-etf - Erlang external term format encoding/decoding for Go

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023772

Peter Lemenkov  changed:

   What|Removed |Added

 Depends On||1010713




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1010713
[Bug 1010713] create and own %{_datadir}/gocode and %{_datadir}/gocode/src
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 981356] golang "safe path" needs to be added to gdb

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=981356

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1002415] /etc/gdbinit.d/golang fix

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1002415

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1010369] golang test suite fails on mssing zoneinfo.zip file

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1010369

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1010713] create and own %{_datadir}/gocode and %{_datadir}/gocode/src

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1010713

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org



--- Comment #4 from Peter Lemenkov  ---
I think we should add the following directories as well:

%{_datadir}/gocode/github.com/
%{_datadir}/gocode/bitbucket.org/
%{_datadir}/gocode/code.google.com/
%{_datadir}/gocode/code.google.com/p/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] New: dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Bug ID: 1026545
   Summary: dockerinit fails with "libdevmapper.so.1.02: cannot
open shared object file"
   Product: Fedora
   Version: 19
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: sjenn...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Description of problem:
dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

Version-Release number of selected component (if applicable):
docker-io-0.7-0.12.dm.fc19.x86_64.rpm

How reproducible:
Every time

Steps to Reproduce:
1. Install docker-io-0.7-0.12.dm.fc19.x86_64.rpm on F19
2. Download official ubuntu image
3. docker run ubuntu echo "hello world"

Actual results:
/.dockerinit: error while loading shared libraries: libdevmapper.so.1.02:
cannot open shared object file: No such file or directory

Expected results:
Get "hello world" output from ubuntu container

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #1 from Seth Jennings  ---
Got the RPM from
http://lsm5.fedorapeople.org/rpmbuild/RPMS/x86_64/docker-io-0.7-0.12.dm.fc19.x86_64.rpm

Also ldd on /usr/bin/docker-init:

# ldd /usr/bin/docker-init 
linux-vdso.so.1 =>  (0x797fe000)
libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x003597e0)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00359720)
libc.so.6 => /lib64/libc.so.6 (0x003596a0)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00359820)
libsepol.so.1 => /lib64/libsepol.so.1 (0x003599a0)
libudev.so.1 => /lib64/libudev.so.1 (0x00359ae0)
/lib64/ld-linux-x86-64.so.2 (0x00359660)
libdl.so.2 => /lib64/libdl.so.2 (0x003596e0)
libpcre.so.1 => /lib64/libpcre.so.1 (0x003597a0)
librt.so.1 => /lib64/librt.so.1 (0x003598a0)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00359860)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #2 from Josh Poimboeuf  ---
Also related: bug 1017186 (can't compile dockerinit statically with go 1.1)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Josh Poimboeuf  changed:

   What|Removed |Added

 CC||al...@redhat.com



--- Comment #3 from Josh Poimboeuf  ---
Alex, can you comment on why docker-init requires libdevmapper?  Is it for
Docker-in-Docker?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file" for Ubuntu container

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Lokesh Mandvekar  changed:

   What|Removed |Added

Summary|dockerinit fails with   |dockerinit fails with
   |"libdevmapper.so.1.02:  |"libdevmapper.so.1.02:
   |cannot open shared object   |cannot open shared object
   |file"   |file" for Ubuntu container



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Lokesh Mandvekar  changed:

   What|Removed |Added

Summary|dockerinit fails with   |dockerinit fails with
   |"libdevmapper.so.1.02:  |"libdevmapper.so.1.02:
   |cannot open shared object   |cannot open shared object
   |file" for Ubuntu container  |file"



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1023769] Review Request: golang-github-goerlang-dist - An implementation of Erlang node

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023769

Lokesh Mandvekar  changed:

   What|Removed |Added

 CC||l...@redhat.com



--- Comment #3 from Lokesh Mandvekar  ---
Hi Peter, Mario:

(In reply to Mario Blättermann from comment #2)


> golang-github-goerlang-dist.spec: I: checking-url
> https://github.com/goerlang/dist/archive/
> 453dec63ea12c128128f9d91b11a82dd570119a0.tar.gz (timeout 10 seconds)
> 2 packages and 1 specfiles checked; 0 errors, 3 warnings.
> 

This might work better for source url:
Source0:
https://%{import_path}/archive/%{commit}/%{realname}-%{shortcommit}.tar.gz
...as in the already existing golang-* packages


> I'm not really happy with the folder ownerships. It seems all your
> golang-github-goerlang-* packages own the folder path
> /usr/share/gocode/src/github.com/goerlang. Well, we have some cases where
> packages may do so, for example for gtk-doc. But in this early state of
> packaging, you could create a dummy package named
> golang-github-goerlang-filesystem which owns this folder. I assume the
> arch-dependent packages in Fedora >=19 and EPEL >=7 use the same folder, so
> there we couldn't get any problems with.

Just to make sure everyone's on the same page, I'm mentioning Matt Miller's
comment here: https://bugzilla.redhat.com/show_bug.cgi?id=1001300#c24 . I guess
if something new gets decided over here, we'll have to make similar changes to
the existing golang-* packages too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #4 from Lokesh Mandvekar  ---
just throwing it out there: this also occurs with centos and busybox containers

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1010713] create and own %{_datadir}/gocode and %{_datadir}/gocode/src

2013-11-05 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1010713

Peter Lemenkov  changed:

   What|Removed |Added

 Blocks||1026870




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1026870
[Bug 1026870] Review Request: golang-github-guelfey-godbus - Native Go
bindings for D-Bus
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026870] Review Request: golang-github-guelfey-godbus - Native Go bindings for D-Bus

2013-11-05 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026870

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org
 Depends On||1010713




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1010713
[Bug 1010713] create and own %{_datadir}/gocode and %{_datadir}/gocode/src
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026976] New: "Error starting container, Error adding device, can't find device for parent ''" when starting fedora docker image

2013-11-05 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026976

Bug ID: 1026976
   Summary: "Error starting container, Error adding device, can't
find device for parent ''" when starting fedora docker
image
   Product: Fedora
   Version: 19
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: sjenn...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Description of problem:

Running container fails with:

Error: Error starting container 43e36bc82ecd: Error adding device for
'0f3e92b4e94d643339d14b096ade73b42b28ff6f9be99064696a97f248c1a651': can't find
device for parent ''

Additionally /var/log/messages has this:
Nov  5 10:20:20 docker kernel: [   85.389079] device-mapper: space map common:
index_check failed: blocknr 0 != wanted 314
Nov  5 10:20:20 docker kernel: [   85.389102] device-mapper: block manager:
index validator check failed for block 314
Nov  5 10:20:20 docker kernel: [   85.389284] device-mapper: transaction
manager: couldn't open metadata space map
Nov  5 10:20:20 docker kernel: [   85.389295] device-mapper: thin metadata:
tm_open_with_sm failed
Nov  5 10:20:20 docker kernel: [   85.390964] device-mapper: table: 253:1:
thin-pool: Error creating metadata object
Nov  5 10:20:20 docker kernel: [   85.391095] device-mapper: ioctl: error
adding target to table

Version-Release number of selected component (if applicable):
# rpm -qa docker-io
docker-io-0.7-0.13.dm.fc19.x86_64

# uname -a
Linux ... 3.11.6-200.fc19.x86_64 #1 SMP Fri Oct 18 22:34:18 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux

How reproducible:
Every time

Steps to Reproduce:
1. Install docker-io-0.7-0.13.dm.fc19.x86_64.rpm
2. Start docker daemon (docker -d &)
3. Download mattdm/fedora images (docker pull mattdm/fedora)
4. Try to start a fedora image (docker run -i -t mattdm/fedora /bin/bash)

Actual results:
Error: Error starting container 96c6d2706331: Error adding device for
'0f3e92b4e94d643339d14b096ade73b42b28ff6f9be99064696a97f248c1a651': can't find
device for parent ''

Expected results:
Shell access to fedora container

Additional info:

My rootfs is on an LV fedora-root in VG fedora

# dmsetup ls --tree
fedora-root (253:0)
 └─ (252:2)

Not sure if that would make a difference.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-06 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #5 from Alexander Larsson  ---
docker-init should not need libdevmapper. I don't know what branch this is
build from. but the fixes for docker-init was on a different branch than the dm
work unfortunately which lead to this. In general, the DM work is not yet
landed, and is being reworked (again) upstream, including changing the on-disk
layout. Trying to support the pre 0.7.0 releases is not really a good idea,
lets finish this upstream first.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026976] "Error starting container, Error adding device, can't find device for parent ''" when starting fedora docker image

2013-11-06 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026976



--- Comment #1 from Alexander Larsson  ---
The device mapper errors seem very bad, I have no idea what exactly goes wrong,
but it seems like the devicemapper block devices are bad and it just fails to
set up the devmapper devices, and then later fails due to them not existing.

Its a bit hard to debug this with the upstream dm work in flux though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #11 from Matthew Miller  ---
RC3 is out now, by the way
https://groups.google.com/forum/#!msg/golang-nuts/7FXy8x7Oqyg/_mfUwUdnyXIJ

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #12 from Matthew Miller  ---
Same error happens in rc3, btw.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #13 from Matthew Miller  ---
This is especially fun to debug because go cleans up the temporary directory it
was using to build right after it exits, making it really hard to find where
the error is. Neat.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #14 from Matthew Miller  ---
Okay, so, here is the test code that is failing:

main.go:
-
package main

/* void foo(void) {} */
import "C"

import (
"fmt"
"runtime"
)

func main() {
C.foo()
buf := make([]byte, 1)
runtime.Stack(buf, true)
fmt.Printf("OK\n")
}

$ go run main.go
# command-line-arguments
./main.go: In function ‘_cgo_92e4c70c8af1_Cfunc_foo’:
./main.go:30:49: warning: unused variable ‘a’ [-Wunused-variable]
OK

but only if CC points to the version which wraps the $RPM_OPT_FLAGS

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #15 from Matthew Miller  ---
And in the generated code, here is our unused "a":

void
_cgo_92e4c70c8af1_Cfunc_foo(void *v)
{
struct {
char unused;
} __attribute__((__packed__, __gcc_struct__)) *a = v;
foo();
}

Now, without going deeply into what that's all about, I've got no idea if this
is a bug or intentional in this test.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #16 from Matthew Miller  ---
Soo, this means that:

1. Unsetting CC at the top of the %check file should work
2. This is probably the right thing to do, because we're not using a wrapper at
runtime

EXCEPT

unsetting CC didn't work. I had to set CC to /usr/bin/gcc to make it work.
That's confusing (and why I jumped through the hoops above). Why's that? Uh oh: 

$ grep mygcc . -r
Binary file ./bin/go matches
./src/cmd/go/zdefaultcc.go:const defaultCC =
`/home/mattdm/rpmbuild/BUILD/go/zz/mygcc`
./src/cmd/cgo/zdefaultcc.go:const defaultCC =
`/home/mattdm/rpmbuild/BUILD/go/zz/mygcc`
Binary file ./pkg/tool/linux_amd64/cgo matches


We've got the path to the gcc wrapper in the build tree built into the whole
thing -- looks like golang 1.2 wants to keep using the wrapper it was built
with. That seems logical, but raises some... interesting questions.

a) Should all go programs built by the go compiler use our RPM flags? (That is,
should we _ship_ the mygcc wrapper?)
b) If so, might that introduce horrible bugs?
c) If not, should we seek an exception for building golang itself?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1028646] New: Error: json: cannot unmarshal number into Go value of type string

2013-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1028646

Bug ID: 1028646
   Summary: Error: json: cannot unmarshal number into Go value of
type string
   Product: Fedora
   Version: 20
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: nath.e.w...@gmail.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Description of problem:

[root@wyrd ~]# docker search centos
2013/11/08 18:38:41 Error: json: cannot unmarshal number into Go value of type
string

[root@wyrd ~]# docker search base
2013/11/08 18:43:24 Error: json: cannot unmarshal number into Go value of type
string

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

docker-io-0.7-0.13.dm.fc20.x86_64

How reproducible:
every time

Steps to Reproduce:
1. install docker-io-0.7-0.13.dm.fc20.x86_64
2. search for an image

Actual results:

Error: json: cannot unmarshal number into Go value of type string

Expected results:
list of available image

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1028670] New: libdevmapper.so exists, but not found

2013-11-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1028670

Bug ID: 1028670
   Summary: libdevmapper.so exists, but not found
   Product: Fedora
   Version: 20
 Component: docker-io
  Severity: high
  Assignee: l...@redhat.com
  Reporter: pavel.n...@gmail.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



On fedora 20 x64 docker can't found existing libdevmapper.so.
device-mapper-libs-1.02.82-3.fc20.x86_64 is installed.

$ sudo find / -name libdev*
...
/usr/lib64/libdevmapper-event.so.1.02
/usr/lib64/libdevmapper.so.1.02
...

$ yum info docker-io
Загружены модули: langpacks, refresh-packagekit
Установленные пакеты
Название: docker-io
Архитектура: x86_64
Версия: 0.7
Выпуск: 0.13.dm.fc20
Объем: 11 M
Источник: installed
Из источника: docker-goldmann
Аннотация: Automates deployment of containerized applications
Ссылка: http://www.docker.io
Лицензия: ASL 2.0

$ uname -a
Linux bb.lan 3.11.7-300.fc20.x86_64 #1 SMP Mon Nov 4 15:07:39 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux


Just another strange thing is that yum provides shows only i686 packages of
libdevmapper.

log:

sudo docker run -i -t ubuntu /bin/bash
/.dockerinit: error while loading shared libraries: libdevmapper.so.1.02:
cannot open shared object file: No such file or directory

$ yum provides libdevmapper.so.1.02
Загружены модули: langpacks, refresh-packagekit
device-mapper-libs-1.02.82-3.fc20.i686 : Device-mapper shared library
Источник: fedora
Совпадения с:
Обеспечивает: libdevmapper.so.1.02



device-mapper-libs-1.02.82-3.fc20.i686 : Device-mapper shared library
Источник: updates-testing
Совпадения с:
Обеспечивает: libdevmapper.so.1.02

$ sudo yum install device-mapper-libs
Загружены модули: langpacks, refresh-packagekit
Пакет device-mapper-libs-1.02.82-3.fc20.x86_64 уже установлен, и это последняя
версия.   # device-mapper-libs is already installed and there is latest version
Выполнять нечего   # nothing to do

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1028670] libdevmapper.so exists, but not found

2013-11-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1028670

Matthew Miller  changed:

   What|Removed |Added

 Status|NEW |CLOSED
 Resolution|--- |DUPLICATE
Last Closed||2013-11-09 09:22:34



--- Comment #1 from Matthew Miller  ---
This is a known problem. The issue is that the library needs to exist _inside_
the container. In practice, this means you can use docker images built with the
same Fedora version that docker itself was, which is of course not the
intention.

This is one of the reasons we're not making the package officially available
yet.

*** This bug has been marked as a duplicate of bug 1026545 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Matthew Miller  changed:

   What|Removed |Added

 CC||pavel.n...@gmail.com



--- Comment #6 from Matthew Miller  ---
*** Bug 1028670 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-11-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983

Vincent Batts  changed:

   What|Removed |Added

 CC||vba...@redhat.com



--- Comment #17 from Vincent Batts  ---
Another note, the upgrade to go1.2 is going to require a couple of additional
things. Two subcommands currently in core 'golang' package and source repo are
being moved their go.tools repo (`go doc` and `go vet`), namely so they can
have a separate release from the compiler.
So making a spec for code.google.com/p/go.tools, that provide sub packages that
will include these commands.
  code.google.com/p/go.tools/cmd/godoc
  code.google.com/p/go.tools/cmd/vet

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1022983] Consider updating Rawhide to Go 1.2 release candidate

2013-11-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1022983



--- Comment #18 from Vincent Batts  ---
like
http://hashbangbash.com/~vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.0.hg17c8fe23290a.fc20.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029068] Review Request: golang-googlecode-tools - Supplementary tools and packages for Go

2013-11-11 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029068

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org, lemen...@gmail.com



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Raphaël Davaillaud  changed:

   What|Removed |Added

 CC||rdavaill...@hbs-research.co
   ||m



--- Comment #7 from Raphaël Davaillaud  ---
This occurs with the official centos 6 image, but not with quagbrain/centos5.9
image.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029068] Review Request: golang-googlecode-tools - Supplementary tools and packages for Go

2013-11-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029068



--- Comment #2 from Vincent Batts  ---
leaving the defattr, since without it rpmlint reports errors:
golang-googlecode-tools.src:263: E: files-attr-not-set

SPEC:
http://hashbangbash.com/~vbatts/rpmbuild/SPECS/golang-googlecode-tools.spec
SRPM:
http://hashbangbash.com/~vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm

$ rpmlint
/home/vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm
golang-googlecode-tools.src: W: non-standard-group Unspecified
golang-googlecode-tools.src:105: W: setup-not-quiet
golang-googlecode-tools.src: W: no-cleaning-of-buildroot %install
golang-googlecode-tools.src: W: no-cleaning-of-buildroot %clean
golang-googlecode-tools.src: W: no-buildroot-tag
golang-googlecode-tools.src: W: no-%clean-section
golang-googlecode-tools.src:115: W: mixed-use-of-spaces-and-tabs (spaces: line
1, tab: line 115)
1 packages and 0 specfiles checked; 0 errors, 7 warnings.


$ fedpkg scratch-build --srpm
/home/vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm
Exception AttributeError: '_read_only' in > ignored
[] 100% 00:00:01 750.97 KiB 524.70 KiB/sec
Building golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm for rawhide
Created task: 6170238
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6170238
Watching tasks (this may be safely interrupted)...
6170238 build (rawhide,
golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm): free
6170238 build (rawhide,
golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm): free -> open
(arm02-builder19.arm.fedoraproject.org)
  6170239 buildArch (golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm,
x86_64): free
  6170240 buildArch (golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm,
i686): open (buildvm-20.phx2.fedoraproject.org)
  6170239 buildArch (golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm,
x86_64): free -> open (buildvm-12.phx2.fedoraproject.org)
  6170239 buildArch (golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm,
x86_64): open (buildvm-12.phx2.fedoraproject.org) -> closed
  0 free  2 open  1 done  0 failed
  6170240 buildArch (golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm,
i686): open (buildvm-20.phx2.fedoraproject.org) -> closed
  0 free  1 open  2 done  0 failed
6170238 build (rawhide,
golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm): open
(arm02-builder19.arm.fedoraproject.org) -> closed
  0 free  0 open  3 done  0 failed

6170238 build (rawhide,
golang-googlecode-tools-0-0.1.hg17c8fe23290a.el6.src.rpm) completed
successfully

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029068] Review Request: golang-googlecode-tools - Supplementary tools and packages for Go

2013-11-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029068

Lokesh Mandvekar  changed:

   What|Removed |Added

  Flags||fedora-review?



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029587] New: upgrade to go1.2 (once it is available)

2013-11-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029587

Bug ID: 1029587
   Summary: upgrade to go1.2 (once it is available)
   Product: Fedora
   Version: rawhide
 Component: golang
  Severity: low
  Assignee: a...@spicenitz.org
  Reporter: vba...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: a...@spicenitz.org, admil...@redhat.com,
golang@lists.fedoraproject.org, lemen...@gmail.com,
l...@redhat.com, ren...@woralelandia.com,
vba...@redhat.com



What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. export GOPATH=$(mktemp -d)
2. go get code.google.com/p/go.tools/cmd/oracle
3. 

What is the expected output?


What do you see instead?
/tmp/tmp.cjYFzAeLWC/src/code.google.com/p/go.tools/importer/source.go:434:
n.Lparen undefined (type *ast.TypeAssertExpr has no field or method Lparen)
/tmp/tmp.cjYFzAeLWC/src/code.google.com/p/go.tools/importer/source.go:435:
n.Lparen undefined (type *ast.TypeAssertExpr has no field or method Lparen)
/tmp/tmp.cjYFzAeLWC/src/code.google.com/p/go.tools/importer/source.go:436:
n.Rparen undefined (type *ast.TypeAssertExpr has no field or method Rparen)


Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
Red Hat Enterprise Linux Workstation release 6.4 (Santiago)


Which version are you using?
go version go1.1.2 linux/amd64 (golang-1.1.2-4.el6.x86_64)


Please provide any additional information below.
I tested against the tip of their repo (future version 1.2) (go version devel
+39c724dd7f25 Tue Nov 12 09:28:07 2013 +1100 linux/amd64)
and code.google.com/p/go.tools/cmd/oracle and
code.google.com/p/go.tools/cmd/ssadump build just fine

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029068] Review Request: golang-googlecode-tools - Supplementary tools and packages for Go

2013-11-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029068



--- Comment #3 from Vincent Batts  ---
SPEC:
http://hashbangbash.com/~vbatts/rpmbuild/SPECS/golang-googlecode-tools.spec
SRPM:
http://hashbangbash.com/~vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm

rpmlint
/home/vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm
golang-googlecode-tools.src: W: non-standard-group Unspecified
golang-googlecode-tools.src:108: W: setup-not-quiet
golang-googlecode-tools.src: W: no-cleaning-of-buildroot %install
golang-googlecode-tools.src: W: no-cleaning-of-buildroot %clean
golang-googlecode-tools.src: W: no-buildroot-tag
golang-googlecode-tools.src: W: no-%clean-section
1 packages and 0 specfiles checked; 0 errors, 6 warnings.


edpkg scratch-build --srpm
/home/vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm
Exception AttributeError: '_read_only' in > ignored
[] 100% 00:00:02 751.19 KiB 312.72 KiB/sec
Building golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm for rawhide
Created task: 6172421
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6172421
Watching tasks (this may be safely interrupted)...
6172421 build (rawhide,
golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm): free
6172421 build (rawhide,
golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm): free -> open
(arm02-builder05.arm.fedoraproject.org)
  6172422 buildArch (golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm,
x86_64): open (buildvm-11.phx2.fedoraproject.org)
  6172423 buildArch (golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm,
i686): open (buildvm-11.phx2.fedoraproject.org)
  6172422 buildArch (golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm,
x86_64): open (buildvm-11.phx2.fedoraproject.org) -> closed
  0 free  2 open  1 done  0 failed
  6172423 buildArch (golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm,
i686): open (buildvm-11.phx2.fedoraproject.org) -> closed
  0 free  1 open  2 done  0 failed
6172421 build (rawhide,
golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm): open
(arm02-builder05.arm.fedoraproject.org) -> closed
  0 free  0 open  3 done  0 failed

6172421 build (rawhide,
golang-googlecode-tools-0-0.2.hg17c8fe23290a.el6.src.rpm) completed
successfully

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029068] Review Request: golang-googlecode-tools - Supplementary tools and packages for Go

2013-11-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029068



--- Comment #4 from Vincent Batts  ---
removing the conflicting directory ownership

SPEC:
http://hashbangbash.com/~vbatts/rpmbuild/SPECS/golang-googlecode-tools.spec
SRPM:
http://hashbangbash.com/~vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm

rpmlint
/home/vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm
golang-googlecode-tools.src: W: non-standard-group Unspecified
golang-googlecode-tools.src:108: W: setup-not-quiet
golang-googlecode-tools.src: W: no-cleaning-of-buildroot %install
golang-googlecode-tools.src: W: no-cleaning-of-buildroot %clean
golang-googlecode-tools.src: W: no-buildroot-tag
golang-googlecode-tools.src: W: no-%clean-section
1 packages and 0 specfiles checked; 0 errors, 6 warnings.


fedpkg scratch-build --srpm
/home/vbatts/rpmbuild/SRPMS/golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm
Exception AttributeError: '_read_only' in > ignored
[] 100% 00:00:01 751.30 KiB 434.69 KiB/sec
Building golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm for rawhide
Created task: 6172800 
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6172800
Watching tasks (this may be safely interrupted)...
6172800 build (rawhide,
golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm): open
(buildvm-09.phx2.fedoraproject.org)
  6172801 buildArch (golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm,
x86_64): free
  6172802 buildArch (golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm,
i686): open (buildvm-13.phx2.fedoraproject.org)
  6172801 buildArch (golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm,
x86_64): free -> open (buildvm-20.phx2.fedoraproject.org)
  6172802 buildArch (golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm,
i686): open (buildvm-13.phx2.fedoraproject.org) -> closed
  0 free  2 open  1 done  0 failed
  6172801 buildArch (golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm,
x86_64): open (buildvm-20.phx2.fedoraproject.org) -> closed
  0 free  1 open  2 done  0 failed
6172800 build (rawhide,
golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm): open
(buildvm-09.phx2.fedoraproject.org) -> closed
  0 free  0 open  3 done  0 failed

6172800 build (rawhide,
golang-googlecode-tools-0-0.3.hg17c8fe23290a.el6.src.rpm) completed
successfully

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029068] Review Request: golang-googlecode-tools - Supplementary tools and packages for Go

2013-11-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029068



--- Comment #5 from Lokesh Mandvekar  ---
the resulting rpms seem to install well, except golang-godoc:

$ sudo rpm -i RPMS/x86_64/golang-godoc-0-0.3.hg17c8fe23290a.fc21.x86_64.rpm
error: Failed dependencies:
golang-godoc < 1.1-4 is obsoleted by (installed) golang-1.1.2-5.fc21.x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Tianon Gravi  changed:

   What|Removed |Added

 CC||admwig...@gmail.com



--- Comment #8 from Tianon Gravi  ---
This is a direct result of how the "docker-init" binary was created
(non-static), and is one of several reasons why docker is distributed as a
static binary.  We do have a new build script that will build a separate static
dockerinit however, and it is available by invoking "./hack/make.sh dynbinary"
(designed specifically with packagers in mind).

So assuming you use a git revision that includes the "hack/make/dynbinary" file
(which was commit 21161dbd515fb97cf9052a5980de6fc6180a89dc), you can replace
the following build lines in your spec file:
---
# passing version information build flags BZ #1017186
export LDFLAGS="-X main.GITCOMMIT %{shortcommit}/%{release} -X main.VERSION
%{version} -w"
go build -v -a -ldflags "$LDFLAGS" github.com/dotcloud/docker/docker
go build -v -a -ldflags "$LDFLAGS" github.com/dotcloud/docker/docker-init

popd
---

With:
---
popd

./hack/make.sh dynbinary
---

Then, the install lines:
---
install -p -m 755 _build/docker %{buildroot}%{_bindir}
install -p -m 755 _build/docker-init %{buildroot}%{_bindir}
---

With:
---
install -d %{buildroot}%{_libexecdir}/docker
install -p -m 755 bundles/$(cat VERSION)/dynbinary/docker-$(cat VERSION)
%{buildroot}%{_bindir}/docker
install -p -m 755 bundles/$(cat VERSION)/dynbinary/dockerinit-$(cat VERSION)
%{buildroot}%{_libexecdir}/docker/dockerinit
---

This method will allow for building dockerinit statically, even while using Go
1.1.2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029980] New: the run command does not have recent options

2013-11-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029980

Bug ID: 1029980
   Summary: the run command does not have recent options
   Product: Fedora
   Version: 19
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: rdavaill...@hbs-research.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Using docker-io.x86_64 0:0.7-0.13.dm.fc19 rpm from Marek Goldmann's repository.

The docker run command doesn't provide some recent (0.6.5) options like name or
link

 sudo docker help run

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container

  -a=map[]: Attach to stdin, stdout or stderr.
  -c=0: CPU shares (relative weight)
  -cidfile="": Write the container ID to the file
  -d=false: Detached mode: Run container in the background, print new container
id
  -dns=[]: Set custom dns servers
  -e=[]: Set environment variables
  -entrypoint="": Overwrite the default entrypoint of the image
  -h="": Container host name
  -i=false: Keep stdin open even if not attached
  -lxc-conf=[]: Add custom lxc options -lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
  -m=0: Memory limit (in bytes)
  -n=true: Enable networking for this container
  -p=[]: Expose a container's port to the host (use 'docker port' to see the
actual mapping)
  -privileged=false: Give extended privileges to this container
  -rm=false: Automatically remove the container when it exits (incompatible
with -d)
  -t=false: Allocate a pseudo-tty
  -u="": Username or UID
  -v=map[]: Bind mount a volume (e.g. from the host: -v /host:/container, from
docker: -v /container)
  -volumes-from=[]: Mount volumes from the specified container
  -w="": Working directory inside the container

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1028646] Error: json: cannot unmarshal number into Go value of type string

2013-11-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1028646



--- Comment #1 from Lokesh Mandvekar  ---
looks like 0.7-rc5 shoud fix this:
https://github.com/dotcloud/docker/issues/2359

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029980] the run command does not have recent options

2013-11-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029980



--- Comment #1 from Lokesh Mandvekar  ---
The current rpm is kinda old, and I'm guessing docker will soon be getting out
0.7-rc5 which should have the new options
(https://github.com/dotcloud/docker/issues/2359#issuecomment-28363860). I'll
build and put the rc5 rpm as soon as it's out

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032094] New: `docker -d -b=none` fails with a nil pointer

2013-11-19 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032094

Bug ID: 1032094
   Summary: `docker -d -b=none` fails with a nil pointer
   Product: Fedora
   Version: rawhide
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: vba...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Description of problem:
https://github.com/dotcloud/docker/issues/2768

Version-Release number of selected component (if applicable):
Docker version 0.7, build 457375e/0.14.rc5.el6

How reproducible:
consistent

Steps to Reproduce:
1. docker -d -b=none
2.
3.

Actual results:
http://pastebin.com/6PJb8LZ6

Expected results:
The docker daemon to run

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032094] `docker -d -b=none` fails with a nil pointer

2013-11-19 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032094

Vincent Batts  changed:

   What|Removed |Added

   Assignee|l...@redhat.com |vba...@redhat.com



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032094] `docker -d -b=none` fails with a nil pointer

2013-11-19 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032094

Vincent Batts  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED



--- Comment #1 from Vincent Batts  ---
submitted pull request to the project. 
https://github.com/dotcloud/docker/pull/2769

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-19 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Lokesh Mandvekar  changed:

   What|Removed |Added

 Status|NEW |CLOSED
 Resolution|--- |RAWHIDE
Last Closed||2013-11-19 16:25:27



--- Comment #9 from Lokesh Mandvekar  ---
0.7-rc5 has been submitted to rawhide by vbatts

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750

Peter Lemenkov  changed:

   What|Removed |Added

 CC||golang@lists.fedoraproject.
   ||org, lemen...@gmail.com



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750



--- Comment #1 from Lokesh Mandvekar  ---
1. The %{import_path} could be placed in Source0 as well if you wanna make it
shorter, but no biggie.

2. rm -rf $RPM_BUILD_ROOT lines should be removed (is it otherwise causing an
error on el6?) . Also, I remember you saying absence of %defattr complains on
el6, so leaving that in should be ok.

3. as per the prior packaged golang deps, we'd also need:
%dir %attr(755,root,root) %{gopath}/src/github.com
%dir %attr(755,root,root) %{gopath}/src/github.com/syndtr
..in addition to the already existing ones.

4. ls in %install is probably not needed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750



--- Comment #2 from Vincent Batts  ---
1. fair
2. rpmlint noted it. i figured no harm. So i've left it to only the %clean
section.
3. added
4. debug leftover. removed.

spec:
http://vbatts.fedorapeople.org/rpmbuild/SPECS/golang-github-syndtr-gocapability.spec
srpm:
http://vbatts.fedorapeople.org/rpmbuild/SRPMS/golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm

$ rpmlint ./golang-github-syndtr-gocapability.spec 
./golang-github-syndtr-gocapability.spec: W: no-cleaning-of-buildroot %install
./golang-github-syndtr-gocapability.spec: W: no-buildroot-tag
0 packages and 1 specfiles checked; 0 errors, 2 warnings.

$ fedpkg scratch-build --srpm
/home/vbatts/rpmbuild/SRPMS/golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm
Exception AttributeError: '_read_only' in > ignored
[] 100% 00:00:00  11.24 KiB  23.09 KiB/sec
Building golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm for
rawhide
Created task: 6207119
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6207119
Watching tasks (this may be safely interrupted)...
6207119 build (rawhide,
golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm): open
(arm02-builder02.arm.fedoraproject.org)
  6207120 buildArch
(golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm, x86_64): free
  6207120 buildArch
(golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm, x86_64): free
-> open (buildvm-22.phx2.fedoraproject.org)
  6207121 buildArch
(golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm, i686): open
(buildvm-15.phx2.fedoraproject.org)
  6207120 buildArch
(golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm, x86_64): open
(buildvm-22.phx2.fedoraproject.org) -> closed
  0 free  2 open  1 done  0 failed
  6207121 buildArch
(golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm, i686): open
(buildvm-15.phx2.fedoraproject.org) -> closed
  0 free  1 open  2 done  0 failed
6207119 build (rawhide,
golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm): open
(arm02-builder02.arm.fedoraproject.org) -> closed
  0 free  0 open  3 done  0 failed

6207119 build (rawhide,
golang-github-syndtr-gocapability-0-0.2.git3454319.el6.src.rpm) completed
successfully

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750

Lokesh Mandvekar  changed:

   What|Removed |Added

  Flags||fedora-review+



--- Comment #3 from Lokesh Mandvekar  ---
approved, but may need revision as and when golang packaging guidelines change

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750



--- Comment #4 from Vincent Batts  ---
New Package SCM Request
===
Package Name: golang-github-syndtr-gocapability
Short Description: POSIX Capability library for the Go programming lanaguage
Owners: vbatts
Branches: f19 f20 el6
InitialCC:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750

Vincent Batts  changed:

   What|Removed |Added

  Flags||fedora-cvs?



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750



--- Comment #5 from Vincent Batts  ---
New Package SCM Request
===
Package Name: golang-github-syndtr-gocapability
Short Description: POSIX Capability library for the Go programming lanaguage
Owners: vbatts
Branches: f19 f20 el6
InitialCC: golang@lists.fedoraproject.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750



--- Comment #6 from Vincent Batts  ---
spelling corrections in description

spec:
http://vbatts.fedorapeople.org/rpmbuild/SPECS/golang-github-syndtr-gocapability.spec
srpm:
http://vbatts.fedorapeople.org/rpmbuild/SRPMS/golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm

$ rpmlint ./golang-github-syndtr-gocapability.spec
./golang-github-syndtr-gocapability.spec: W: no-cleaning-of-buildroot %install
./golang-github-syndtr-gocapability.spec: W: no-buildroot-tag
0 packages and 1 specfiles checked; 0 errors, 2 warnings.

$ fedpkg scratch-build --srpm
/home/vbatts/rpmbuild/SRPMS/golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm
Exception AttributeError: '_read_only' in > ignored
[] 100% 00:00:00  11.30 KiB  27.42 KiB/sec
Building golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm for
rawhide
Created task: 6207211
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6207211
Watching tasks (this may be safely interrupted)...
6207211 build (rawhide,
golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm): open
(arm02-builder14.arm.fedoraproject.org)
  6207213 buildArch
(golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm, i686): free
  6207212 buildArch
(golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm, x86_64): free
  6207212 buildArch
(golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm, x86_64): free
-> open (buildvm-20.phx2.fedoraproject.org)
  6207213 buildArch
(golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm, i686): free ->
open (buildvm-24.phx2.fedoraproject.org)
  6207213 buildArch
(golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm, i686): open
(buildvm-24.phx2.fedoraproject.org) -> closed
  0 free  2 open  1 done  0 failed
  6207212 buildArch
(golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm, x86_64): open
(buildvm-20.phx2.fedoraproject.org) -> closed
  0 free  1 open  2 done  0 failed
6207211 build (rawhide,
golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm): open
(arm02-builder14.arm.fedoraproject.org) -> closed
  0 free  0 open  3 done  0 failed

6207211 build (rawhide,
golang-github-syndtr-gocapability-0-0.3.git3454319.el6.src.rpm) completed
successfully

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming language

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750

Vincent Batts  changed:

   What|Removed |Added

Summary|Review Request: |Review Request:
   |golang-github-syndtr-gocapa |golang-github-syndtr-gocapa
   |bility - POSIX Capability   |bility - POSIX Capability
   |library for the Go  |library for the Go
   |programming lanaguage   |programming language



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX Capability library for the Go programming lanaguage

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750



--- Comment #7 from Vincent Batts  ---
New Package SCM Request
===
Package Name: golang-github-syndtr-gocapability
Short Description: POSIX Capability library for the Go programming language
Owners: vbatts
Branches: f19 f20 el6
InitialCC: golang-sig

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032750] Review Request: golang-github-syndtr-gocapability - POSIX capability library for the Go programming language

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032750

Vincent Batts  changed:

   What|Removed |Added

Summary|Review Request: |Review Request:
   |golang-github-syndtr-gocapa |golang-github-syndtr-gocapa
   |bility - POSIX Capability   |bility - POSIX capability
   |library for the Go  |library for the Go
   |programming language|programming language



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #10 from Dave Lawrence  ---
The error still occurs for me running the new version:

[dkl@localhost ~]$ docker run -i -t centos bash
/.dockerinit: error while loading shared libraries: libdevmapper.so.1.02:
cannot open shared object file: No such file or directory

RPM:
http://koji.fedoraproject.org/koji/buildinfo?buildID=479658
docker-io-0.7-0.16.rc6.fc20

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1032884] New: failed to exec /.dockerinit

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1032884

Bug ID: 1032884
   Summary: failed to exec /.dockerinit
   Product: Fedora
   Version: 19
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: l...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Description of problem: failed to exec /.dockerinit


Version-Release number of selected component (if applicable): 0.7-0.16.rc6.fc19


How reproducible: always


Steps to Reproduce:
1. sudo docker run -i -t mattdm/fedora /bin/bash


Actual results:
$ sudo docker run -i -t mattdm/fedora /bin/bash
lxc-start: No such file or directory - failed to exec /.dockerinit
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn
'c5f0ffe8ef04bfd12b135de49465251142cdf5da4886ad8ec1aa00da052974e7'
[error] commands.go:2203 Error resize: Error: bad file descriptor

Expected results: should enter container shell


Additional info: I noticed this only after 2330 CST on 11/20, the same version
was working fine before. Also been noticing something similar on my rawhide. 
I hope it's just me :\ . Anyway, throwing it out there, will check later.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #11 from Marek Goldmann  ---
(In reply to Dave Lawrence from comment #10)
> The error still occurs for me running the new version:
> 
> [dkl@localhost ~]$ docker run -i -t centos bash
> /.dockerinit: error while loading shared libraries: libdevmapper.so.1.02:
> cannot open shared object file: No such file or directory

This is reported in bug 1032884.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #12 from Marek Goldmann  ---
Ignore my previous comment :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #13 from Marek Goldmann  ---
I can confirm this issue. It seems it depends on the image we want to run.
Fedora images work good, whereas centos image has issues:

Uploading context 10240 bytes
Step 1 : FROM centos
 ---> 539c0211cd76
Step 2 : RUN yum -y install openssh-server
 ---> Running in a7fde642db8a
/.dockerinit: error while loading shared libraries: libdevmapper.so.1.02:
cannot open shared object file: No such file or directory
Error build: The command [/bin/sh -c yum -y install openssh-server] returned a
non-zero code: 127

I'm not sure if this is a docker-io package issue or the image itself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545



--- Comment #14 from Marek Goldmann  ---
Forgot to mention that I use docker-io-0.7-0.13.dm.fc20.x86_64.

P.S. Sorry for the spam.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029980] the run command does not have recent options

2013-11-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029980

Raphaël Davaillaud  changed:

   What|Removed |Added

 Status|NEW |CLOSED
 Resolution|--- |NOTABUG
Last Closed||2013-11-21 04:57:06



--- Comment #2 from Raphaël Davaillaud  ---
I'm closing my ticket as the latest build docker-io-0.7-0.16.rc6.fc20 has all
the options.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1029980] the run command does not have recent options

2013-11-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1029980

Marek Goldmann  changed:

   What|Removed |Added

   Fixed In Version||docker-io-0.7-0.16.rc6
 Resolution|NOTABUG |CURRENTRELEASE



--- Comment #3 from Marek Goldmann  ---
Thanks for the info, I'm altering a bit the resolution info.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1033604] New: Unable to start systemd service in Docker container

2013-11-22 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1033604

Bug ID: 1033604
   Summary: Unable to start systemd service in Docker container
   Product: Fedora
   Version: 20
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: mfoj...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Description of problem:

Using Dockerfile like this:

FROMmattdm/fedora:latest
RUNyum update -y
RUNyum install -y redis
RUNsystemctl enable redis.service
RUNsystemctl start redis.service
EXPOSE  6379
ENTRYPOINT["/usr/bin/redis-cli"]


The step 'systemctl start redis.service' failed with this error message:

Failed to get D-Bus connection: No connection to service manager.

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

Name: docker-io
Arch: x86_64
Version : 0.7
Release : 0.17.rc6.fc20

Steps to Reproduce:
1. Save the above Dockerfile
2. Run: docker build -t test/redis .
3. The build fill faile on systemctl start.

Actual results:

The service failed to start due to D-BUS connection.

Expected results:

The service should be started?

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1033606] New: Failed to connect to network from Docker container

2013-11-22 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1033606

Bug ID: 1033606
   Summary: Failed to connect to network from Docker container
   Product: Fedora
   Version: 20
 Component: docker-io
  Assignee: l...@redhat.com
  Reporter: mfoj...@redhat.com
QA Contact: extras...@fedoraproject.org
CC: golang@lists.fedoraproject.org, l...@redhat.com,
mat...@redhat.com, mgold...@redhat.com,
vba...@redhat.com



Description of problem:

Connecting to external network from Docker container fail due to firewalld. I
guess you must have masquerade enabled, however this is not mentioned anywhere.
I think docker-io should set the firewalld rules automatically, or tell users
that they need to enable masquarade in firewalld.

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

Name: docker-io
Arch: x86_64
Version : 0.7
Release : 0.17.rc6.fc20

Steps to Reproduce:
1. $ yum install docker-io
2. $ systemctl enable docker.service
3. $ systemctl start docker.service
4. $ docker pull mattdm/fedora
5. $ docker run -i -t mattdm/fedora:latest /bin/bash
6. $ ping google.com
ping: unknown host google.com

When I stop firewalld on host (systemctl stop firewalld) and then restart the
docker (systemctl restart docker), the ping works like a charm.

Actual results:

Unable to connect outside the Docker container with firewalld enabled.

Expected results:

Docker should configure firewalld automatically (during install?), or inform
users to do so manually.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1026545] dockerinit fails with "libdevmapper.so.1.02: cannot open shared object file"

2013-11-22 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026545

Michael Young  changed:

   What|Removed |Added

 CC||m.a.yo...@durham.ac.uk



--- Comment #18 from Michael Young  ---
I believe docker is running within the container or at least load libraries
from it (with docker-io-0.7-0.16.rc6.fc19.x86_64). I get the error
/.dockerinit: error while loading shared libraries: libdevmapper.so.1.02:
cannot open shared object file: No such file or directory
when trying
docker run mattdm/fedora-small /bin/echo hello world
I do get "hello world" if I manually add /usr/lib64/libdevmapper.so.1.02 to the
mattdm/fedora-small image, and I get the corresponding "error while loading
shared libraries" error if I manually move libsqlite3.so.0 out of the way,
similarly for libpcre.so.1 .

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


  1   2   3   4   5   6   7   8   9   10   >