fatal-error-old-kernels
authorPaul Tagliamonte <paultag@debian.org>
Wed, 4 Nov 2015 08:09:02 +0000 (08:09 +0000)
committerTianon Gravi <tianon@debian.org>
Wed, 4 Nov 2015 08:09:02 +0000 (08:09 +0000)
Gbp-Pq: Name fatal-error-old-kernels.patch

daemon/daemon_unix.go

index 1bc394c4590f9aa17339e3b44c7f574a1069aa7b..96e3e62cc039cd83fb1663e35dd69a6b63e8f954 100644 (file)
@@ -110,7 +110,7 @@ func checkKernel() error {
        } else {
                if kernel.CompareKernelVersion(k, &kernel.KernelVersionInfo{Kernel: 3, Major: 10, Minor: 0}) < 0 {
                        if os.Getenv("DOCKER_NOWARN_KERNEL_VERSION") == "" {
-                               logrus.Warnf("You are running linux kernel version %s, which might be unstable running docker. Please upgrade your kernel to 3.10.0.", k.String())
+                               logrus.Fatalf("ERROR: You are running Linux kernel version %s, which is unsupported for running Docker. Please upgrade your kernel to 3.10+.", k.String())
                        }
                }
        }