valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

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

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