Blame SOURCES/0009-rules-reload-sysctl-settings-when-the-bridge-module-.patch

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