Blame SOURCES/0149-rules-reload-sysctl-settings-when-the-bridge-module-.patch
|
|
1ff636 |
From 05f3e4b89d6503a4a327be9bee9802097bc8c860 Mon Sep 17 00:00:00 2001
|
|
|
1ff636 |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
|
1ff636 |
Date: Wed, 13 May 2015 17:11:48 +0200
|
|
|
1ff636 |
Subject: [PATCH] rules: reload sysctl settings when the bridge module is
|
|
|
1ff636 |
loaded
|
|
|
1ff636 |
|
|
|
1ff636 |
Resolves: #1182105
|
|
|
1ff636 |
---
|
|
|
1ff636 |
rules/40-redhat.rules | 3 +++
|
|
|
1ff636 |
1 file changed, 3 insertions(+)
|
|
|
1ff636 |
|
|
|
1ff636 |
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
|
|
|
181b3f |
index 8231caae9..556a3a3a9 100644
|
|
|
1ff636 |
--- a/rules/40-redhat.rules
|
|
|
1ff636 |
+++ b/rules/40-redhat.rules
|
|
|
1ff636 |
@@ -5,3 +5,6 @@ SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}
|
|
|
1ff636 |
|
|
|
1ff636 |
# Memory hotadd request
|
|
|
1ff636 |
SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"
|
|
|
1ff636 |
+
|
|
|
1ff636 |
+# reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded
|
|
|
1ff636 |
+ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"
|