The absence of the file /proc/sys/net/ipv6/conf/all/disable_ipv6
doesn't appear to affect functionality, at least at this time.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -37,7 +37,7 @@ github.com/mitchellh/hashstructure 2bca23e0e452137f789efbc8610126fd8b94f73b |
| 37 | 37 |
#get libnetwork packages |
| 38 | 38 |
|
| 39 | 39 |
# When updating, also update LIBNETWORK_COMMIT in hack/dockerfile/install/proxy accordingly |
| 40 |
-github.com/docker/libnetwork 3ac297bc7fd0afec9051bbb47024c9bc1d75bf5b |
|
| 40 |
+github.com/docker/libnetwork d00ceed44cc447c77f25cdf5d59e83163bdcb4c9 |
|
| 41 | 41 |
github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9 |
| 42 | 42 |
github.com/armon/go-radix e39d623f12e8e41c7b5529e9a9dd67a1e2261f80 |
| 43 | 43 |
github.com/armon/go-metrics eb0af217e5e9747e41dd5303755356b62d28e3ec |
| ... | ... |
@@ -616,6 +616,15 @@ func reexecSetIPv6() {
|
| 616 | 616 |
value = byte('0')
|
| 617 | 617 |
} |
| 618 | 618 |
|
| 619 |
+ if _, err := os.Stat(path); err != nil {
|
|
| 620 |
+ if os.IsNotExist(err) {
|
|
| 621 |
+ logrus.Warnf("file does not exist: %s : %v Has IPv6 been disabled in this node's kernel?", path, err)
|
|
| 622 |
+ os.Exit(0) |
|
| 623 |
+ } |
|
| 624 |
+ logrus.Errorf("failed to stat %s : %v", path, err)
|
|
| 625 |
+ os.Exit(5) |
|
| 626 |
+ } |
|
| 627 |
+ |
|
| 619 | 628 |
if err = ioutil.WriteFile(path, []byte{value, '\n'}, 0644); err != nil {
|
| 620 | 629 |
logrus.Errorf("failed to %s IPv6 forwarding for container's interface %s: %v", action, os.Args[2], err)
|
| 621 | 630 |
os.Exit(4) |
| ... | ... |
@@ -6,12 +6,9 @@ github.com/armon/go-metrics eb0af217e5e9747e41dd5303755356b62d28e3ec |
| 6 | 6 |
github.com/armon/go-radix e39d623f12e8e41c7b5529e9a9dd67a1e2261f80 |
| 7 | 7 |
github.com/boltdb/bolt fff57c100f4dea1905678da7e90d92429dff2904 |
| 8 | 8 |
github.com/codegangsta/cli a65b733b303f0055f8d324d805f393cd3e7a7904 |
| 9 |
-github.com/containerd/console cb7008ab3d8359b78c5f464cb7cf160107ad5925 |
|
| 10 | 9 |
github.com/containerd/continuity d3c23511c1bf5851696cba83143d9cbcd666869b |
| 11 | 10 |
github.com/coreos/etcd v3.2.1 |
| 12 | 11 |
github.com/coreos/go-semver v0.2.0 |
| 13 |
-github.com/coreos/go-systemd v17 |
|
| 14 |
-github.com/coreos/pkg fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8 |
|
| 15 | 12 |
github.com/deckarep/golang-set ef32fa3046d9f249d399f98ebaf9be944430fd1d |
| 16 | 13 |
|
| 17 | 14 |
github.com/docker/docker 162ba6016def672690ee4a1f3978368853a1e149 |
| ... | ... |
@@ -22,7 +19,6 @@ github.com/docker/libkv 1d8431073ae03cdaedb198a89722f3aab6d418ef |
| 22 | 22 |
|
| 23 | 23 |
github.com/godbus/dbus v4.0.0 |
| 24 | 24 |
github.com/gogo/protobuf v1.0.0 |
| 25 |
-github.com/golang/protobuf v1.1.0 |
|
| 26 | 25 |
github.com/gorilla/context v1.1 |
| 27 | 26 |
github.com/gorilla/mux v1.1 |
| 28 | 27 |
github.com/hashicorp/consul v0.5.2 |
| ... | ... |
@@ -34,16 +30,12 @@ github.com/hashicorp/go-sockaddr 6d291a969b86c4b633730bfc6b8b9d64c3aafed9 |
| 34 | 34 |
github.com/hashicorp/serf 598c54895cc5a7b1a24a398d635e8c0ea0959870 |
| 35 | 35 |
github.com/mattn/go-shellwords v1.0.3 |
| 36 | 36 |
github.com/miekg/dns v1.0.7 |
| 37 |
-github.com/mrunalp/fileutils ed869b029674c0e9ce4c0dfa781405c2d9946d08 |
|
| 38 | 37 |
github.com/opencontainers/go-digest v1.0.0-rc1 |
| 39 | 38 |
github.com/opencontainers/image-spec v1.0.1 |
| 40 | 39 |
github.com/opencontainers/runc 69663f0bd4b60df09991c08812a60108003fa340 |
| 41 | 40 |
github.com/opencontainers/runtime-spec v1.0.1 |
| 42 |
-github.com/opencontainers/selinux b29023b86e4a69d1b46b7e7b4e2b6fda03f0b9cd |
|
| 43 | 41 |
github.com/samuel/go-zookeeper d0e0d8e11f318e000a8cc434616d69e329edc374 |
| 44 |
-github.com/seccomp/libseccomp-golang 32f571b70023028bd57d9288c20efbcb237f3ce0 |
|
| 45 | 42 |
github.com/sirupsen/logrus v1.0.3 |
| 46 |
-github.com/stretchr/testify v1.2.2 |
|
| 47 | 43 |
github.com/syndtr/gocapability 33e07d32887e1e06b7c025f27ce52f62c7990bc0 |
| 48 | 44 |
github.com/ugorji/go f1f1a805ed361a0e078bb537e4ea78cd37dcf065 |
| 49 | 45 |
github.com/vishvananda/netlink b2de5d10e38ecce8607e6b438b6d174f389a004e |
| ... | ... |
@@ -55,12 +47,5 @@ golang.org/x/sync fd80eb99c8f653c847d294a001bdf2a3a6f768f5 |
| 55 | 55 |
github.com/pkg/errors 839d9e913e063e28dfd0e6c7b7512793e0a48be9 |
| 56 | 56 |
github.com/ishidawataru/sctp 07191f837fedd2f13d1ec7b5f885f0f3ec54b1cb |
| 57 | 57 |
|
| 58 |
-github.com/davecgh/go-spew v1.1.0 |
|
| 59 |
-github.com/pmezard/go-difflib v1.0.0 |
|
| 60 |
-github.com/cyphar/filepath-securejoin v0.2.1 |
|
| 61 |
-github.com/hashicorp/errwrap 7554cd9344cec97297fa6649b055a8c98c2a1e55 |
|
| 62 |
-github.com/hashicorp/go-immutable-radix 7f3cd4390caab3250a57f30efdb2a65dd7649ecf |
|
| 63 |
-github.com/hashicorp/golang-lru 0fb14efe8c47ae851c0034ed7a448854d3d34cf3 |
|
| 64 |
-github.com/hashicorp/go-cleanhttp d5fe4b57a186c716b0e00b8c301cbd9b4182694d |
|
| 65 |
-github.com/hashicorp/go-rootcerts 6bb64b370b90e7ef1fa532be9e591a81c3493e00 |
|
| 66 |
-github.com/mitchellh/go-homedir 3864e76763d94a6df2f9960b16a20a33da9f9a66 |
|
| 58 |
+gotest.tools v2.1.0 |
|
| 59 |
+github.com/google/go-cmp v0.2.0 |