daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
803fb7
From 7076491959d3e67f339a520dcdfb824a46ff5ccb Mon Sep 17 00:00:00 2001
803fb7
From: Daniel Mack <daniel@zonque.org>
803fb7
Date: Fri, 5 Jun 2015 14:59:36 +0200
803fb7
Subject: [PATCH] kmod-setup: don't warn when ipv6 can't be loaded
803fb7
803fb7
Not having IPv6 is a valid setup. Let's not print a warning in that
803fb7
case.
803fb7
803fb7
Addresses:
803fb7
803fb7
  https://bugs.freedesktop.org/show_bug.cgi?id=87475
803fb7
803fb7
(cherry picked from commit b4aa82f168913b7bff42017023b43933b3aa0d24)
803fb7
803fb7
Cherry-picked from: b4aa82f
803fb7
Resolves: #1222517
803fb7
---
803fb7
 src/core/kmod-setup.c | 2 +-
803fb7
 1 file changed, 1 insertion(+), 1 deletion(-)
803fb7
803fb7
diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
803fb7
index 97f3b9b34..6b2f29585 100644
803fb7
--- a/src/core/kmod-setup.c
803fb7
+++ b/src/core/kmod-setup.c
803fb7
@@ -66,7 +66,7 @@ int kmod_setup(void) {
803fb7
                 { "autofs4",   "/sys/class/misc/autofs",    true,  NULL                },
803fb7
 
803fb7
                 /* early configure of ::1 on the loopback device */
803fb7
-                { "ipv6",      "/sys/module/ipv6",          true,  NULL                },
803fb7
+                { "ipv6",      "/sys/module/ipv6",          false,  NULL               },
803fb7
 
803fb7
                 /* this should never be a module */
803fb7
                 { "unix",      "/proc/net/unix",            true,  NULL                },