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