Package: docker.io / 18.03.1+dfsg1-2

Metadata

Package Version Patches format
docker.io 18.03.1+dfsg1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
21491 systemd tasksmax.patch | (download)

engine/contrib/init/systemd/docker.service | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] docker.service: don't limit tasks
cgroupfs mount convenience copy.patch | (download)

engine/contrib/init/sysvinit-debian/docker | 25 0 + 25 - 0 !
engine/contrib/init/upstart/docker.conf | 23 0 + 23 - 0 !
2 files changed, 48 deletions(-)

 remove convenience copies of cgroupfs-mount in init.d / upstart
change system unit env file.patch | (download)

engine/contrib/init/systemd/docker.service | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 use environmentfile with the systemd unit file.
Bug-Debian: http://bugs.debian.org/746774
cli fix manpages build script.patch | (download)

cli/scripts/docs/generate-man.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix man pages build
cli notary.patch | (download)

cli/cli/command/image/trust_test.go | 5 2 + 3 - 0 !
cli/cli/trust/trust.go | 4 3 + 1 - 0 !
2 files changed, 5 insertions(+), 4 deletions(-)

 fixes ftbfs


dockerd binary location.patch | (download)

engine/contrib/init/systemd/docker.service | 2 1 + 1 - 0 !
engine/contrib/init/sysvinit-debian/docker | 2 1 + 1 - 0 !
engine/contrib/init/upstart/docker.conf | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 fhs compliance.


engine test noinstall.patch | (download)

engine/hack/test/unit | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 prevents test-time installation that causes ftbfs.
~~~~
 go test net: open /usr/lib/go-1.10/pkg/linux_amd64/net.a: permission denied
~~~~


go 1.10_archiver format.patch | (download)

engine/pkg/archive/archive.go | 9 9 + 0 - 0 !
engine/pkg/containerfs/archiver.go | 5 5 + 0 - 0 !
2 files changed, 14 insertions(+)

 [patch] set format in archiver

Prevent changing the tar output by setting the format to
PAX and keeping the times truncated.
go 1.10_tarsum.patch | (download)

engine/pkg/tarsum/tarsum.go | 20 12 + 8 - 0 !
engine/pkg/tarsum/tarsum_test.go | 16 8 + 8 - 0 !
2 files changed, 20 insertions(+), 16 deletions(-)

 [patch] fix tarsum for go 1.10

Remove invalid flush commands, flush should only occur when file
has been completely written. This is already handle, remove these calls.
Ensure data gets written after EOF in correct order and before close.
Remove gname and uname from sum for hash compatibility.
Update tarsum tests for gname/uname removal.
Return valid length after eof.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: a422774e593b33bd287d9890544ad9e09b380d8c
Component: engine

go metrics_prometheus fix_Observer.patch | (download)

go-metrics/timer.go | 11 8 + 3 - 0 !
1 file changed, 8 insertions(+), 3 deletions(-)

 fixes ftbfs
 vendor/github.com/docker/go-metrics/timer.go:39:17:
 cannot use lt.m.WithLabelValues(labels...) (type prometheus.Observer) as type prometheus.Histogram in field value:
        prometheus.Observer does not implement prometheus.Histogram (missing Collect method)


import_archive tar.patch | (download)

containerd/archive/tar.go | 2 1 + 1 - 0 !
containerd/archive/tar_unix.go | 2 1 + 1 - 0 !
containerd/archive/tar_windows.go | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 use archive/tar instead of dmcgowan/go-tar
 It seems that dmcgowan/go-tar is basically ahead of archive/tar, and its
 purpose is to make the latest tar implementation available to older version
 of go.
 .
 We don't really care since the version of go shipped right now is v1.10,
 which already provides everything needed.
libnetwork_proto.patch | (download)

libnetwork/agent.go | 2 1 + 1 - 0 !
libnetwork/drivers/overlay/overlay.go | 2 1 + 1 - 0 !
libnetwork/networkdb/networkdb.go | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 fix generation of .pb.go files.


mips.patch | (download)

engine/pkg/system/stat_linux.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

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


netlink_syscall.patch | (download)

libnetwork/drivers/overlay/ov_network.go | 3 2 + 1 - 0 !
libnetwork/ipvs/ipvs.go | 5 3 + 2 - 0 !
2 files changed, 5 insertions(+), 3 deletions(-)

 fixes ftbfs
 cannot use &tv (type *syscall.Timeval) as type *unix.Timeval


nuke no prompt.patch | (download)

engine/contrib/nuke-graph-directory.sh | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 remove prompt and delay


test disable TestChangesWithChangesGH13590.patch | (download)

engine/pkg/archive/changes_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable test, does not appear to work under pbuilder.


test fix test errors.patch | (download)

engine/pkg/authorization/authz_unix_test.go | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 update several tests for text/path errors
test skip TestAdapterReadLogs.patch | (download)

engine/daemon/logger/adapter_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable unreliable test, failing randomly on multiple architectures.
~~~~
 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
~~~~


test skip TestGetRootUIDGID.patch | (download)

engine/pkg/idtools/idtools_unix_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable test failing is sbuild.
~~~~
 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
~~~~


test skip network tests.patch | (download)

cli/cli/command/image/push_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test due to dependency on network.


test skip privileged unit tests.patch | (download)

cli/cli/command/image/build_test.go | 3 3 + 0 - 0 !
engine/builder/dockerfile/evaluator_test.go | 1 1 + 0 - 0 !
engine/builder/dockerfile/internals_test.go | 4 4 + 0 - 0 !
engine/daemon/daemon_test.go | 1 1 + 0 - 0 !
engine/daemon/daemon_unix_test.go | 1 1 + 0 - 0 !
engine/daemon/graphdriver/overlay/overlay_test.go | 5 5 + 0 - 0 !
engine/daemon/graphdriver/overlay2/overlay_test.go | 5 5 + 0 - 0 !
engine/daemon/reload_test.go | 1 1 + 0 - 0 !
engine/pkg/archive/archive_linux_test.go | 2 2 + 0 - 0 !
engine/pkg/archive/archive_test.go | 8 8 + 0 - 0 !
engine/pkg/archive/archive_unix_test.go | 2 2 + 0 - 0 !
engine/pkg/mount/mount_unix_test.go | 3 3 + 0 - 0 !
engine/pkg/mount/sharedsubtree_linux_test.go | 4 4 + 0 - 0 !
engine/pkg/system/rm_test.go | 1 1 + 0 - 0 !
engine/volume/local/local_test.go | 5 5 + 0 - 0 !
engine/volume/store/store_test.go | 3 3 + 0 - 0 !
16 files changed, 49 insertions(+)

 allow skipping "privileged" tests with "-test.short"