docker.io.git
6 years agoMerge version 18.09.9+dfsg1-5+rpi1 and 19.03.4+dfsg2-2 to produce 19.03.4+dfsg2-2... bullseye-staging archive/raspbian/19.03.4+dfsg2-2+rpi1 raspbian/19.03.4+dfsg2-2+rpi1
Raspbian automatic forward porter [Sun, 24 Nov 2019 21:33:26 +0000 (21:33 +0000)]
Merge version 18.09.9+dfsg1-5+rpi1 and 19.03.4+dfsg2-2 to produce 19.03.4+dfsg2-2+rpi1

6 years agoMerge docker.io (19.03.4+dfsg2-2) import into refs/heads/workingbranch
Dmitry Smirnov [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
Merge docker.io (19.03.4+dfsg2-2) import into refs/heads/workingbranch

6 years agotest--skip-TestStateRunStop
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
test--skip-TestStateRunStop

~~~~
 state_test.go:102: ExitCode -1, expected 2, err "context deadline exceeded"
~~~~

Gbp-Pq: Name test--skip-TestStateRunStop.patch

6 years agoSkip TestSignCommandLocalFlag
Arnaud Rebillout [Sat, 28 Sep 2019 02:30:56 +0000 (02:30 +0000)]
Skip TestSignCommandLocalFlag

No idea why this test used to pass before and fails now...

~~~~
  === RUN   TestSignCommandLocalFlag
  --- FAIL: TestSignCommandLocalFlag (35.01s)
    sign_test.go:307: assertion failed: expected error to contain "error contacting notary server: dial tcp: lookup reg-name.io",
    got "Error: error contacting notary server: dial tcp 125.235.4.59:443: i/o timeout"
  ...
  FAIL github.com/docker/cli/cli/command/trust 49.235s
~~~~

Origin: vendor, Debian
Forwarded: not-needed, Debian-specific
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name test--skip-TestSignCommandLocalFlag.patch

6 years agotest--skip-TestGetRootUIDGID
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
test--skip-TestGetRootUIDGID

~~~~
 FAIL: TestGetRootUIDGID (0.00s)
 idtools_unix_test.go:287:
    Error Trace: idtools_unix_test.go:287
    Error:       Not equal:
                 expected: 1009
                 actual  : 2952
    Test:        TestGetRootUIDGID
~~~~

Gbp-Pq: Name test--skip-TestGetRootUIDGID.patch

6 years agotest--skip-TestClientWithRequestTimeout
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
test--skip-TestClientWithRequestTimeout

~~~~
 FAIL: TestClientWithRequestTimeout (0.00s)
    client_test.go:254: assertion failed: expected an error, got nil: expected error
~~~~

Gbp-Pq: Name test--skip-TestClientWithRequestTimeout.patch

6 years agotest--skip-TestAdapterReadLogs
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
test--skip-TestAdapterReadLogs

~~~~
 FAIL: TestAdapterReadLogs (0.00s)
 panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x83273c5]

 goroutine 7 [running]:
 testing.tRunner.func1(0x1a686ab0)
    /usr/lib/go-1.10/src/testing/testing.go:742 +0x24a
 panic(0x8393cc0, 0x85d1e78)
    /usr/lib/go-1.10/src/runtime/panic.go:502 +0x1dc
 github.com/docker/docker/daemon/logger.testMessageEqual(0x1a686ab0, 0x1a65cc7c, 0x0)
    /var/lib/gitlab-runner/builds/736b76b0/1/docker-team/docker/.gopath/src/github.com/docker/docker/daemon/logger/adapter_test.go:178 +0x35
 github.com/docker/docker/daemon/logger.TestAdapterReadLogs(0x1a686ab0)
    /var/lib/gitlab-runner/builds/736b76b0/1/docker-team/docker/.gopath/src/github.com/docker/docker/daemon/logger/adapter_test.go:131 +0x710
 testing.tRunner(0x1a686ab0, 0x83fa01c)
    /usr/lib/go-1.10/src/testing/testing.go:777 +0xaa
 created by testing.(*T).Run
    /usr/lib/go-1.10/src/testing/testing.go:824 +0x243
 FAIL  github.com/docker/docker/daemon/logger  0.012s
~~~~

Gbp-Pq: Name test--skip-TestAdapterReadLogs.patch

6 years agotest--skip-privileged-unit-tests
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
test--skip-privileged-unit-tests

Gbp-Pq: Name test--skip-privileged-unit-tests.patch

6 years agotest--skip-network-tests
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
test--skip-network-tests

Gbp-Pq: Name test--skip-network-tests.patch

6 years agotest--fix-test-errors
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
test--fix-test-errors

Gbp-Pq: Name test--fix-test-errors.patch

6 years agoDisable containerizedengine/update_test.go
Arnaud Rebillout [Fri, 18 Jan 2019 11:54:15 +0000 (18:54 +0700)]
Disable containerizedengine/update_test.go

This test FTBFS, see <https://github.com/docker/cli/pull/1561>.
Please re-enable this test when this MR is accepted.

Origin: vendor, Debian
Forwarded: not-needed, Debian-specific
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name test--disable-containerizedengine-update-test.patch

6 years agomips-fix-devnumber
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
mips-fix-devnumber

~~~~
github.com/docker/docker/pkg/system/stat_linux.go:13:7: cannot use s.Rdev (type uint32) as type uint64 in field value
~~~~

Gbp-Pq: Name mips-fix-devnumber.patch

6 years agolibnetwork_proto_no_unrecognized_all
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
libnetwork_proto_no_unrecognized_all

 Fix this by setting goproto_unrecognized_all=false which suppresses this field.

 Upstream doesn't have the problem because they have pinned an older version
 of gogo/protobuf: https://github.com/docker/libnetwork/pull/2242
Author: Felix Geyer <fgeyer@debian.org>

Gbp-Pq: Name libnetwork_proto_no_unrecognized_all.patch

6 years agolibnetwork_proto
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
libnetwork_proto

Gbp-Pq: Name libnetwork_proto.patch

6 years agoUpdate github.com/dgrijalva/jwt-go to 3.2.0 (#27)
Guillaume Rose [Wed, 19 Jun 2019 16:55:16 +0000 (17:55 +0100)]
Update github.com/dgrijalva/jwt-go to 3.2.0 (#27)

Gbp-Pq: Name jwt-go-v3.patch

6 years agoUpdate cni and go-cni to the v0.7.1 release (Closes #1236)
Michael Crosby [Wed, 14 Aug 2019 14:32:08 +0000 (14:32 +0000)]
Update cni and go-cni to the v0.7.1 release (Closes #1236)

Gbp-Pq: Name containerd-cri_cni.patch

6 years agocli-fix-manpages-build-script
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
cli-fix-manpages-build-script

Gbp-Pq: Name cli-fix-manpages-build-script.patch

6 years agocli-dont-duplicate-authconfig
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
cli-dont-duplicate-authconfig

~~~~ gitlab-runner
src/gitlab.com/gitlab-org/gitlab-runner/helpers/docker/auth_config.go:102:22: cannot use config.AuthConfigs (type map[string]"github.com/docker/cli/cli/config/types".AuthConfig] as type map[string]"github.com/docker/docker/api/types".AuthConfig] in argument to addAll
src/gitlab.com/gitlab-org/gitlab-runner/helpers/docker/auth_config.go:130:2: cannot use newAuths (type map[string]"github.com/docker/cli/cli/config/types".AuthConfig] as type map[string]"github.com/docker/docker/api/types".AuthConfig] in return argument
src/gitlab.com/gitlab-org/gitlab-runner/helpers/docker/auth_config.go:144:26: cannot use newAuths (type "github.com/docker/cli/cli/config/types".AuthConfig)
~~~~

~~~~ nomad
src/github.com/hashicorp/nomad/drivers/docker/utils.go:118:57: cannot use cfile.AuthConfigs (type map[string]"github.com/docker/cli/cli/config/types".AuthConfig] as type map[string]"github.com/docker/docker/api/types".AuthConfig] in argument to "github.com/docker/docker/registry".ResolveAuthConfig
~~~~

Please update this patch when upstream provides a fix.

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name cli-dont-duplicate-authconfig.patch

6 years agoBuild against google-grpc 1.11, where md.Get() does not exist.
Arnaud Rebillout [Tue, 22 Jan 2019 05:22:52 +0000 (12:22 +0700)]
Build against google-grpc 1.11, where md.Get() does not exist.

This patch is based on the commit that introduced md.Get() in google-grpc:
<https://github.com/grpc/grpc-go/commit/291de7f0>.

Please drop this patch as soon as we build docker against google-grpc >= 1.12.

Origin: vendor, Debian
Forwarded: not-needed, Debian-specific
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name buildkit-build-against-google-grpc-1.11.patch

6 years agoDisable Microsoft/hcsshim
Arnaud Rebillout [Thu, 10 Oct 2019 13:42:00 +0000 (20:42 +0700)]
Disable Microsoft/hcsshim

As far as I understand, this is only needed for Docker running on a
Windows host. Grepping the code shows that only Windows specific files
import Microsoft/hcsshim. The only exception is the file
`libcontainerd/remote/client.go`.

Forwarded: https://github.com/moby/moby/issues/40067
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name engine-disable-microsoft-hcsshim.patch

6 years agoDont use gotestsum in hack/test/unit
Arnaud Rebillout [Mon, 16 Sep 2019 06:27:36 +0000 (13:27 +0700)]
Dont use gotestsum in hack/test/unit

gotestsum is not yet in Debian, let's just stick to 'go test' for now.

As soon as gotestsum is packaged for Debian (see #940225), we can drop
this patch, and add gotestsum as a build dependency.

This is a partial revert of the commit:
https://github.com/docker/docker-ce/commit/bef34d1

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Origin: vendor, Debian
Forwarded: not-needed, Debian-specific

Gbp-Pq: Name debian-dont-use-gotestsum-in-hack-test-unit.patch

6 years agoDont use gotestsum in hack/test/unit
Arnaud Rebillout [Sat, 28 Sep 2019 02:30:56 +0000 (02:30 +0000)]
Dont use gotestsum in hack/test/unit

gotestsum is not yet in Debian, let's just stick to 'go test' for now.

As soon as gotestsum is packaged for Debian (see #940225), we can drop
this patch, and add gotestsum as a build dependency.

This is a partial revert of the docker/cli commits:
3bd3996f72ca281cec288dd6e7f4fdaa0e1eeb00
277f61415ec99d5fbae75c15013f2fdfb0017af4

Origin: vendor, Debian
Forwarded: not-needed, Debian-specific
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name debian-dont-use-gotestsum-in-cli.patch

6 years agodebian-nuke-no-prompt
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
debian-nuke-no-prompt

Gbp-Pq: Name debian-nuke-no-prompt.patch

6 years agodebian-cgroupfs-mount-convenience-copy
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
debian-cgroupfs-mount-convenience-copy

Gbp-Pq: Name debian-cgroupfs-mount-convenience-copy.patch

6 years agodebian-dockerd-binary-location
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
debian-dockerd-binary-location

Gbp-Pq: Name debian-dockerd-binary-location.patch

6 years agodebian-containerd-name
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
debian-containerd-name

Gbp-Pq: Name debian-containerd-name.patch

6 years agodebian-systemd-unit-environment-file
Arnaud Rebillout [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
debian-systemd-unit-environment-file

Gbp-Pq: Name debian-systemd-unit-environment-file.patch

6 years agodocker.service: don't limit tasks
pierre@meteor.com [Thu, 24 Mar 2016 23:14:30 +0000 (16:14 -0700)]
docker.service: don't limit tasks

Signed-off-by: Pierre Carrier <pierre@meteor.com>
Gbp-Pq: Name debian-systemd-unit-tasksmax.patch

6 years agodocker.io (19.03.4+dfsg2-2) unstable; urgency=medium
Dmitry Smirnov [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
docker.io (19.03.4+dfsg2-2) unstable; urgency=medium

  * Removed unused package from Build-Depends.
  * Standards-Version: 4.4.1.

[dgit import unpatched docker.io 19.03.4+dfsg2-2]

6 years agoImport docker.io_19.03.4+dfsg2-2.debian.tar.xz
Dmitry Smirnov [Tue, 12 Nov 2019 01:18:22 +0000 (01:18 +0000)]
Import docker.io_19.03.4+dfsg2-2.debian.tar.xz

[dgit import tarball docker.io 19.03.4+dfsg2-2 docker.io_19.03.4+dfsg2-2.debian.tar.xz]

6 years agoImport docker.io_19.03.4+dfsg2.orig.tar.xz
Arnaud Rebillout [Mon, 4 Nov 2019 09:06:27 +0000 (09:06 +0000)]
Import docker.io_19.03.4+dfsg2.orig.tar.xz

[dgit import orig docker.io_19.03.4+dfsg2.orig.tar.xz]

6 years agoImport docker.io_19.03.4+dfsg2.orig-containerd.tar.xz
Arnaud Rebillout [Mon, 4 Nov 2019 09:06:27 +0000 (09:06 +0000)]
Import docker.io_19.03.4+dfsg2.orig-containerd.tar.xz

[dgit import orig docker.io_19.03.4+dfsg2.orig-containerd.tar.xz]

6 years agoImport docker.io_19.03.4+dfsg2.orig-distribution.tar.xz
Arnaud Rebillout [Mon, 4 Nov 2019 09:06:27 +0000 (09:06 +0000)]
Import docker.io_19.03.4+dfsg2.orig-distribution.tar.xz

[dgit import orig docker.io_19.03.4+dfsg2.orig-distribution.tar.xz]

6 years agoImport docker.io_19.03.4+dfsg2.orig-go-events.tar.xz
Arnaud Rebillout [Mon, 4 Nov 2019 09:06:27 +0000 (09:06 +0000)]
Import docker.io_19.03.4+dfsg2.orig-go-events.tar.xz

[dgit import orig docker.io_19.03.4+dfsg2.orig-go-events.tar.xz]

6 years agoImport docker.io_19.03.4+dfsg2.orig-libnetwork.tar.xz
Arnaud Rebillout [Mon, 4 Nov 2019 09:06:27 +0000 (09:06 +0000)]
Import docker.io_19.03.4+dfsg2.orig-libnetwork.tar.xz

[dgit import orig docker.io_19.03.4+dfsg2.orig-libnetwork.tar.xz]

6 years agoImport docker.io_19.03.4+dfsg2.orig-swarmkit.tar.xz
Arnaud Rebillout [Mon, 4 Nov 2019 09:06:27 +0000 (09:06 +0000)]
Import docker.io_19.03.4+dfsg2.orig-swarmkit.tar.xz

[dgit import orig docker.io_19.03.4+dfsg2.orig-swarmkit.tar.xz]

6 years agoReally disable testsuite. archive/raspbian/18.09.9+dfsg1-5+rpi1 raspbian/18.09.9+dfsg1-5+rpi1
Peter Michael Green [Tue, 15 Oct 2019 13:54:47 +0000 (13:54 +0000)]
Really disable testsuite.

6 years agoManual merge of version 18.09.1+dfsg1-7.1+rpi1 and 18.09.9+dfsg1-5 to produce 18...
Peter Michael Green [Tue, 15 Oct 2019 13:24:57 +0000 (13:24 +0000)]
Manual merge of version 18.09.1+dfsg1-7.1+rpi1 and 18.09.9+dfsg1-5 to produce 18.09.9+dfsg1-5+rpi1

6 years agoMerge docker.io (18.09.9+dfsg1-5) import into refs/heads/workingbranch
Dmitry Smirnov [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
Merge docker.io (18.09.9+dfsg1-5) import into refs/heads/workingbranch

6 years agotest--skip-privileged-unit-tests
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
test--skip-privileged-unit-tests

Gbp-Pq: Name test--skip-privileged-unit-tests.patch

6 years agotest--skip-network-tests
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
test--skip-network-tests

Gbp-Pq: Name test--skip-network-tests.patch

6 years agotest--skip-TestStateRunStop
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
test--skip-TestStateRunStop

~~~~
 state_test.go:102: ExitCode -1, expected 2, err "context deadline exceeded"
~~~~

Gbp-Pq: Name test--skip-TestStateRunStop.patch

6 years agotest--skip-TestGetRootUIDGID
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
test--skip-TestGetRootUIDGID

~~~~
 FAIL: TestGetRootUIDGID (0.00s)
 idtools_unix_test.go:287:
    Error Trace: idtools_unix_test.go:287
    Error:       Not equal:
                 expected: 1009
                 actual  : 2952
    Test:        TestGetRootUIDGID
~~~~

Gbp-Pq: Name test--skip-TestGetRootUIDGID.patch

6 years agotest--skip-TestChangesWithChangesGH13590
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
test--skip-TestChangesWithChangesGH13590

Gbp-Pq: Name test--skip-TestChangesWithChangesGH13590.patch

6 years agotest--skip-TestAdapterReadLogs
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
test--skip-TestAdapterReadLogs

~~~~
 FAIL: TestAdapterReadLogs (0.00s)
 panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x83273c5]

 goroutine 7 [running]:
 testing.tRunner.func1(0x1a686ab0)
    /usr/lib/go-1.10/src/testing/testing.go:742 +0x24a
 panic(0x8393cc0, 0x85d1e78)
    /usr/lib/go-1.10/src/runtime/panic.go:502 +0x1dc
 github.com/docker/docker/daemon/logger.testMessageEqual(0x1a686ab0, 0x1a65cc7c, 0x0)
    /var/lib/gitlab-runner/builds/736b76b0/1/docker-team/docker/.gopath/src/github.com/docker/docker/daemon/logger/adapter_test.go:178 +0x35
 github.com/docker/docker/daemon/logger.TestAdapterReadLogs(0x1a686ab0)
    /var/lib/gitlab-runner/builds/736b76b0/1/docker-team/docker/.gopath/src/github.com/docker/docker/daemon/logger/adapter_test.go:131 +0x710
 testing.tRunner(0x1a686ab0, 0x83fa01c)
    /usr/lib/go-1.10/src/testing/testing.go:777 +0xaa
 created by testing.(*T).Run
    /usr/lib/go-1.10/src/testing/testing.go:824 +0x243
 FAIL  github.com/docker/docker/daemon/logger  0.012s
~~~~

Gbp-Pq: Name test--skip-TestAdapterReadLogs.patch

6 years agotest--fix-test-errors
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
test--fix-test-errors

Gbp-Pq: Name test--fix-test-errors.patch

6 years agoDisable containerizedengine/update_test.go
Arnaud Rebillout [Fri, 18 Jan 2019 11:54:15 +0000 (18:54 +0700)]
Disable containerizedengine/update_test.go

This test FTBFS, see <https://github.com/docker/cli/pull/1561>.
Please re-enable this test when this MR is accepted.

Origin: vendor, Debian
Forwarded: not-needed, Debian-specific
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name test--disable-containerizedengine-update-test.patch

6 years agobump opencontainers/selinux to v1.2
Sebastiaan van Stijn [Thu, 21 Mar 2019 08:58:13 +0000 (09:58 +0100)]
bump opencontainers/selinux to v1.2

Gbp-Pq: Name selinux-docker.patch

6 years agobump opencontainers/selinux to v1.2
Sebastiaan van Stijn [Wed, 27 Mar 2019 15:08:02 +0000 (16:08 +0100)]
bump opencontainers/selinux to v1.2

Gbp-Pq: Name selinux-containerd_cri.patch

6 years agonetlink_syscall
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
netlink_syscall

Gbp-Pq: Name netlink_syscall.patch

6 years agomips-fix-devnumber
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
mips-fix-devnumber

~~~~
github.com/docker/docker/pkg/system/stat_linux.go:13:7: cannot use s.Rdev (type uint32) as type uint64 in field value
~~~~

Gbp-Pq: Name mips-fix-devnumber.patch

6 years agoSIGSKTFLT does not exist on MIPS, instead SIGEMT does.
poizan42 [Wed, 18 Jul 2018 12:31:16 +0000 (14:31 +0200)]
SIGSKTFLT does not exist on MIPS, instead SIGEMT does.

SIGRTMAX is also 127 on MIPS.

This patch is merged upstream on master, please drop it when necessary.

Signed-off-by: Kasper Fabæch Brandt <poizan@poizan.dk>
Origin: upstream, https://github.com/moby/moby/pull/37491

Gbp-Pq: Name mips-add-specific-signal-file.patch

6 years agolibnetwork_proto_no_unrecognized_all
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
libnetwork_proto_no_unrecognized_all

 Fix this by setting goproto_unrecognized_all=false which suppresses this field.

 Upstream doesn't have the problem because they have pinned an older version
 of gogo/protobuf: https://github.com/docker/libnetwork/pull/2242
Author: Felix Geyer <fgeyer@debian.org>

Gbp-Pq: Name libnetwork_proto_no_unrecognized_all.patch

6 years agolibnetwork_proto
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
libnetwork_proto

Gbp-Pq: Name libnetwork_proto.patch

6 years agoUpdate sctp package This commit updates the vendored ishidawataru/sctp and adapts...
Sascha Grunert [Thu, 2 May 2019 11:23:31 +0000 (13:23 +0200)]
Update sctp package This commit updates the vendored ishidawataru/sctp and adapts its used types.

Gbp-Pq: Name libnetwork-update-sctp.patch

6 years agoUpdate github.com/dgrijalva/jwt-go to 3.2.0 (#27)
Guillaume Rose [Wed, 19 Jun 2019 16:55:16 +0000 (17:55 +0100)]
Update github.com/dgrijalva/jwt-go to 3.2.0 (#27)

Gbp-Pq: Name jwt-go-v3.patch

6 years agogo-metrics_prometheus-fix_Observer
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
go-metrics_prometheus-fix_Observer

Gbp-Pq: Name go-metrics_prometheus-fix_Observer.patch

6 years agoexport_oci-caps
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
export_oci-caps

Gbp-Pq: Name export_oci-caps.patch

6 years agomkimage: Fix Debian security presence check
Mattias Jernberg [Wed, 5 Dec 2018 18:35:17 +0000 (19:35 +0100)]
mkimage: Fix Debian security presence check

Add Location following since security redirects to security-cdn and caused the repository to be added on Debian unstable.

Signed-off-by: Mattias Jernberg <nostrad@gmail.com>
Origin: upstream, https://github.com/docker/engine/commit/8db5403

Gbp-Pq: Name engine-contrib-debootstrap-curl-follow-location.patch

6 years agocli-fix-manpages-build-script
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
cli-fix-manpages-build-script

Gbp-Pq: Name cli-fix-manpages-build-script.patch

6 years agoBuild against google-grpc 1.11, where md.Get() does not exist.
Arnaud Rebillout [Tue, 22 Jan 2019 05:22:52 +0000 (12:22 +0700)]
Build against google-grpc 1.11, where md.Get() does not exist.

This patch is based on the commit that introduced md.Get() in google-grpc:
<https://github.com/grpc/grpc-go/commit/291de7f0>.

Please drop this patch as soon as we build docker against google-grpc >= 1.12.

Origin: vendor, Debian
Forwarded: not-needed, Debian-specific
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name buildkit-build-against-google-grpc-1.11.patch

6 years agoDont use gotestsum in hack/test/unit
Arnaud Rebillout [Mon, 16 Sep 2019 06:27:36 +0000 (13:27 +0700)]
Dont use gotestsum in hack/test/unit

gotestsum is not yet in Debian, let's just stick to 'go test' for now.

As soon as gotestsum is packaged for Debian (see #940225), we can drop
this patch, and add gotestsum as a build dependency.

This is a partial revert of the commit:
https://github.com/docker/docker-ce/commit/bef34d1

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Origin: vendor, Debian
Forwarded: not-needed, Debian-specific

Gbp-Pq: Name debian-dont-use-gotestsum-in-hack-test-unit.patch

6 years agodebian-nuke-no-prompt
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
debian-nuke-no-prompt

Gbp-Pq: Name debian-nuke-no-prompt.patch

6 years agodebian-cgroupfs-mount-convenience-copy
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
debian-cgroupfs-mount-convenience-copy

Gbp-Pq: Name debian-cgroupfs-mount-convenience-copy.patch

6 years agodebian-dockerd-binary-location
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
debian-dockerd-binary-location

Gbp-Pq: Name debian-dockerd-binary-location.patch

6 years agodebian-containerd-name
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
debian-containerd-name

Gbp-Pq: Name debian-containerd-name.patch

6 years agodebian-systemd-unit-environment-file
Arnaud Rebillout [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
debian-systemd-unit-environment-file

Gbp-Pq: Name debian-systemd-unit-environment-file.patch

6 years agodocker.service: don't limit tasks
pierre@meteor.com [Thu, 24 Mar 2016 23:14:30 +0000 (16:14 -0700)]
docker.service: don't limit tasks

Signed-off-by: Pierre Carrier <pierre@meteor.com>
Gbp-Pq: Name debian-systemd-unit-tasksmax.patch

6 years agodocker.io (18.09.9+dfsg1-5) unstable; urgency=medium
Dmitry Smirnov [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
docker.io (18.09.9+dfsg1-5) unstable; urgency=medium

  [ Arnaud Rebillout ]
  * Drop unused build depends

  [ Dmitry Smirnov ]
  * Patch Docker to use jwt-go v3.
  * Use golang-github-dgrijalva-jwt-go-dev (not -v3).
  * dev: install new "containerd/*" files
         (as required by "singularity-container").

[dgit import unpatched docker.io 18.09.9+dfsg1-5]

6 years agoImport docker.io_18.09.9+dfsg1-5.debian.tar.xz
Dmitry Smirnov [Tue, 8 Oct 2019 03:37:25 +0000 (04:37 +0100)]
Import docker.io_18.09.9+dfsg1-5.debian.tar.xz

[dgit import tarball docker.io 18.09.9+dfsg1-5 docker.io_18.09.9+dfsg1-5.debian.tar.xz]

6 years agoImport docker.io_18.09.9+dfsg1.orig.tar.xz
Arnaud Rebillout [Mon, 16 Sep 2019 04:18:11 +0000 (05:18 +0100)]
Import docker.io_18.09.9+dfsg1.orig.tar.xz

[dgit import orig docker.io_18.09.9+dfsg1.orig.tar.xz]

6 years agoImport docker.io_18.09.9+dfsg1.orig-containerd.tar.xz
Arnaud Rebillout [Mon, 16 Sep 2019 04:18:11 +0000 (05:18 +0100)]
Import docker.io_18.09.9+dfsg1.orig-containerd.tar.xz

[dgit import orig docker.io_18.09.9+dfsg1.orig-containerd.tar.xz]

6 years agoImport docker.io_18.09.9+dfsg1.orig-distribution.tar.xz
Arnaud Rebillout [Mon, 16 Sep 2019 04:18:11 +0000 (05:18 +0100)]
Import docker.io_18.09.9+dfsg1.orig-distribution.tar.xz

[dgit import orig docker.io_18.09.9+dfsg1.orig-distribution.tar.xz]

6 years agoImport docker.io_18.09.9+dfsg1.orig-go-events.tar.xz
Arnaud Rebillout [Mon, 16 Sep 2019 04:18:11 +0000 (05:18 +0100)]
Import docker.io_18.09.9+dfsg1.orig-go-events.tar.xz

[dgit import orig docker.io_18.09.9+dfsg1.orig-go-events.tar.xz]

6 years agoImport docker.io_18.09.9+dfsg1.orig-go-metrics.tar.xz
Arnaud Rebillout [Mon, 16 Sep 2019 04:18:11 +0000 (05:18 +0100)]
Import docker.io_18.09.9+dfsg1.orig-go-metrics.tar.xz

[dgit import orig docker.io_18.09.9+dfsg1.orig-go-metrics.tar.xz]

6 years agoImport docker.io_18.09.9+dfsg1.orig-libnetwork.tar.xz
Arnaud Rebillout [Mon, 16 Sep 2019 04:18:11 +0000 (05:18 +0100)]
Import docker.io_18.09.9+dfsg1.orig-libnetwork.tar.xz

[dgit import orig docker.io_18.09.9+dfsg1.orig-libnetwork.tar.xz]

6 years agoImport docker.io_18.09.9+dfsg1.orig-swarmkit.tar.xz
Arnaud Rebillout [Mon, 16 Sep 2019 04:18:11 +0000 (05:18 +0100)]
Import docker.io_18.09.9+dfsg1.orig-swarmkit.tar.xz

[dgit import orig docker.io_18.09.9+dfsg1.orig-swarmkit.tar.xz]

6 years agoMerge docker.io (18.09.1+dfsg1-9) import into refs/heads/workingbranch
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
Merge docker.io (18.09.1+dfsg1-9) import into refs/heads/workingbranch

6 years agoAdjust tests for changes in Go 1.12.8 / 1.11.13
Sebastiaan van Stijn [Wed, 14 Aug 2019 00:51:08 +0000 (02:51 +0200)]
Adjust tests for changes in Go 1.12.8 / 1.11.13

```
00:38:11 === Failed
00:38:11 === FAIL: opts TestParseDockerDaemonHost (0.00s)
00:38:11     hosts_test.go:87: tcp tcp:a.b.c.d address expected error "Invalid bind address format: tcp:a.b.c.d" return, got "parse tcp://tcp:a.b.c.d: invalid port \":a.b.c.d\" after host" and addr
00:38:11     hosts_test.go:87: tcp tcp:a.b.c.d/path address expected error "Invalid bind address format: tcp:a.b.c.d/path" return, got "parse tcp://tcp:a.b.c.d/path: invalid port \":a.b.c.d\" after host" and addr
00:38:11
00:38:11 === FAIL: opts TestParseTCP (0.00s)
00:38:11     hosts_test.go:129: tcp tcp:a.b.c.d address expected error Invalid bind address format: tcp:a.b.c.d return, got parse tcp://tcp:a.b.c.d: invalid port ":a.b.c.d" after host and addr
00:38:11     hosts_test.go:129: tcp tcp:a.b.c.d/path address expected error Invalid bind address format: tcp:a.b.c.d/path return, got parse tcp://tcp:a.b.c.d/path: invalid port ":a.b.c.d" after host and addr
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 683766613a8c1dca8f95b19ddb7e083bb3aef266)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Gbp-Pq: Name test--engine-fix-golang11.patch

6 years agoFix test for Go 1.12.x
Sebastiaan van Stijn [Mon, 4 Mar 2019 17:44:07 +0000 (18:44 +0100)]
Fix test for Go 1.12.x

After switching to Go 1.12, the format-string causes an error;

```
=== Errors
cli/config/config_test.go:154:3: Fatalf format %q has arg config of wrong type *github.com/docker/cli/cli/config/configfile.ConfigFile
cli/config/config_test.go:217:3: Fatalf format %q has arg config of wrong type *github.com/docker/cli/cli/config/configfile.ConfigFile
cli/config/config_test.go:253:3: Fatalf format %q has arg config of wrong type *github.com/docker/cli/cli/config/configfile.ConfigFile
cli/config/config_test.go:288:3: Fatalf format %q has arg config of wrong type *github.com/docker/cli/cli/config/configfile.ConfigFile
cli/config/config_test.go:435:3: Fatalf format %q has arg config of wrong type *github.com/docker/cli/cli/config/configfile.ConfigFile
cli/config/config_test.go:448:3: Fatalf format %q has arg config of wrong type *github.com/docker/cli/cli/config/configfile.ConfigFile

DONE 1115 tests, 2 skipped, 6 errors in 215.984s
make: *** [Makefile:22: test-coverage] Error 2
Exited with code 2
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit d4877fb2259feac2c76762ccd3001999cb7f0d58)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Gbp-Pq: Name test--cli-fix-golang12.patch

6 years agoAdjust tests for changes in Go 1.12.8 / 1.11.13
Sebastiaan van Stijn [Wed, 14 Aug 2019 08:04:43 +0000 (10:04 +0200)]
Adjust tests for changes in Go 1.12.8 / 1.11.13

For now, just verifying that an error is returned, but not checking the
error message itself, because those are not under our control, and may
change with different Go versions.

```
=== Failed
=== FAIL: opts TestParseDockerDaemonHost (0.00s)
    hosts_test.go:87: tcp tcp:a.b.c.d address expected error "Invalid bind address format: tcp:a.b.c.d" return, got "parse tcp://tcp:a.b.c.d: invalid port \":a.b.c.d\" after host" and addr
    hosts_test.go:87: tcp tcp:a.b.c.d/path address expected error "Invalid bind address format: tcp:a.b.c.d/path" return, got "parse tcp://tcp:a.b.c.d/path: invalid port \":a.b.c.d\" after host" and addr

=== FAIL: opts TestParseTCP (0.00s)
    hosts_test.go:129: tcp tcp:a.b.c.d address expected error Invalid bind address format: tcp:a.b.c.d return, got parse tcp://tcp:a.b.c.d: invalid port ":a.b.c.d" after host and addr
    hosts_test.go:129: tcp tcp:a.b.c.d/path address expected error Invalid bind address format: tcp:a.b.c.d/path return, got parse tcp://tcp:a.b.c.d/path: invalid port ":a.b.c.d" after host and addr
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Gbp-Pq: Name test--cli-fix-golang11.patch

6 years agotest--skip-privileged-unit-tests
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
test--skip-privileged-unit-tests

Gbp-Pq: Name test--skip-privileged-unit-tests.patch

6 years agotest--skip-network-tests
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
test--skip-network-tests

Gbp-Pq: Name test--skip-network-tests.patch

6 years agotest--skip-TestStateRunStop
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
test--skip-TestStateRunStop

~~~~
 state_test.go:102: ExitCode -1, expected 2, err "context deadline exceeded"
~~~~

Gbp-Pq: Name test--skip-TestStateRunStop.patch

6 years agotest--skip-TestGetRootUIDGID
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
test--skip-TestGetRootUIDGID

~~~~
 FAIL: TestGetRootUIDGID (0.00s)
 idtools_unix_test.go:287:
    Error Trace: idtools_unix_test.go:287
    Error:       Not equal:
                 expected: 1009
                 actual  : 2952
    Test:        TestGetRootUIDGID
~~~~

Gbp-Pq: Name test--skip-TestGetRootUIDGID.patch

6 years agoSkip TestClientWithRequestTimeout
Arnaud Rebillout [Thu, 24 Jan 2019 08:22:58 +0000 (15:22 +0700)]
Skip TestClientWithRequestTimeout

This test seems to be flaky. Please follow-up upstream for more details:
<https://github.com/moby/moby/issues/38587>

Origin: vendor, Debian
Forwarded: not-needed, Debian-specific
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name test--skip-TestClientWithRequestTimeout.patch

6 years agotest--skip-TestChangesWithChangesGH13590
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
test--skip-TestChangesWithChangesGH13590

Gbp-Pq: Name test--skip-TestChangesWithChangesGH13590.patch

6 years agotest--skip-TestAdapterReadLogs
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
test--skip-TestAdapterReadLogs

~~~~
 FAIL: TestAdapterReadLogs (0.00s)
 panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x83273c5]

 goroutine 7 [running]:
 testing.tRunner.func1(0x1a686ab0)
    /usr/lib/go-1.10/src/testing/testing.go:742 +0x24a
 panic(0x8393cc0, 0x85d1e78)
    /usr/lib/go-1.10/src/runtime/panic.go:502 +0x1dc
 github.com/docker/docker/daemon/logger.testMessageEqual(0x1a686ab0, 0x1a65cc7c, 0x0)
    /var/lib/gitlab-runner/builds/736b76b0/1/docker-team/docker/.gopath/src/github.com/docker/docker/daemon/logger/adapter_test.go:178 +0x35
 github.com/docker/docker/daemon/logger.TestAdapterReadLogs(0x1a686ab0)
    /var/lib/gitlab-runner/builds/736b76b0/1/docker-team/docker/.gopath/src/github.com/docker/docker/daemon/logger/adapter_test.go:131 +0x710
 testing.tRunner(0x1a686ab0, 0x83fa01c)
    /usr/lib/go-1.10/src/testing/testing.go:777 +0xaa
 created by testing.(*T).Run
    /usr/lib/go-1.10/src/testing/testing.go:824 +0x243
 FAIL  github.com/docker/docker/daemon/logger  0.012s
~~~~

Gbp-Pq: Name test--skip-TestAdapterReadLogs.patch

6 years agotest--fix-test-errors
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
test--fix-test-errors

Gbp-Pq: Name test--fix-test-errors.patch

6 years agoDisable containerizedengine/update_test.go
Arnaud Rebillout [Fri, 18 Jan 2019 11:54:15 +0000 (18:54 +0700)]
Disable containerizedengine/update_test.go

This test FTBFS, see <https://github.com/docker/cli/pull/1561>.
Please re-enable this test when this MR is accepted.

Origin: vendor, Debian
Forwarded: not-needed, Debian-specific
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name test--disable-containerizedengine-update-test.patch

6 years agonetlink_syscall
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
netlink_syscall

Gbp-Pq: Name netlink_syscall.patch

6 years agomips-fix-devnumber
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
mips-fix-devnumber

~~~~
github.com/docker/docker/pkg/system/stat_linux.go:13:7: cannot use s.Rdev (type uint32) as type uint64 in field value
~~~~

Gbp-Pq: Name mips-fix-devnumber.patch

6 years agoSIGSKTFLT does not exist on MIPS, instead SIGEMT does.
poizan42 [Wed, 18 Jul 2018 12:31:16 +0000 (14:31 +0200)]
SIGSKTFLT does not exist on MIPS, instead SIGEMT does.

SIGRTMAX is also 127 on MIPS.

This patch is merged upstream on master, please drop it when necessary.

Signed-off-by: Kasper Fabæch Brandt <poizan@poizan.dk>
Origin: upstream, https://github.com/moby/moby/pull/37491

Gbp-Pq: Name mips-add-specific-signal-file.patch

6 years agolibnetwork_proto_no_unrecognized_all
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
libnetwork_proto_no_unrecognized_all

 Fix this by setting goproto_unrecognized_all=false which suppresses this field.

 Upstream doesn't have the problem because they have pinned an older version
 of gogo/protobuf: https://github.com/docker/libnetwork/pull/2242
Author: Felix Geyer <fgeyer@debian.org>

Gbp-Pq: Name libnetwork_proto_no_unrecognized_all.patch

6 years agoRevert "debian has iptables-legacy and iptables-nft now"
Arko Dasgupta [Fri, 1 Mar 2019 19:43:02 +0000 (11:43 -0800)]
Revert "debian has iptables-legacy and iptables-nft now"

This reverts commit 7da66eea9f68e4abc83ed2892114ec565eddd66a.

Libnetwork should only use the iptables binary. Iptables v1.8 and above
uses the nftables backend. The translations for all the rules used by
libnetwork is supported by the new iptables binary.

Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com>
Origin: upstream, https://github.com/docker/libnetwork/pull/2343

Gbp-Pq: Name libnetwork-revert-iptables-legacy.patch

6 years agolibnetwork_proto
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
libnetwork_proto

Gbp-Pq: Name libnetwork_proto.patch

6 years agogo-metrics_prometheus-fix_Observer
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
go-metrics_prometheus-fix_Observer

Gbp-Pq: Name go-metrics_prometheus-fix_Observer.patch

6 years agoengine-test-noinstall
Arnaud Rebillout [Wed, 4 Sep 2019 07:54:29 +0000 (08:54 +0100)]
engine-test-noinstall

~~~~
 go test net: open /usr/lib/go-1.10/pkg/linux_amd64/net.a: permission denied
~~~~

Gbp-Pq: Name engine-test-noinstall.patch

6 years agomkimage: Fix Debian security presence check
Mattias Jernberg [Wed, 5 Dec 2018 18:35:17 +0000 (19:35 +0100)]
mkimage: Fix Debian security presence check

Add Location following since security redirects to security-cdn and caused the repository to be added on Debian unstable.

Signed-off-by: Mattias Jernberg <nostrad@gmail.com>
Origin: upstream, https://github.com/docker/engine/commit/8db5403

Gbp-Pq: Name engine-contrib-debootstrap-curl-follow-location.patch

6 years agoInitialize nss libraries in Glibc so that the dynamic libraries are loaded in the...
Justin Cormack [Thu, 25 Jul 2019 14:24:39 +0000 (15:24 +0100)]
Initialize nss libraries in Glibc so that the dynamic libraries are loaded in the host environment not in the chroot from untrusted files.

See also OpenVZ https://github.com/kolyshkin/vzctl/blob/a3f732ef751998913fcf0a11b3e05236b51fd7e9/src/enter.c#L227-L234

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit a316b10dab79d9298b02c7930958ed52e0ccf4e4)

Gbp-Pq: Name cve-2019-14271-Initialize-nss-libraries-in-Glibc.patch