valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0220-kmod-setup-don-t-warn-when-ipv6-can-t-be-loaded.patch

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