From 328c3ebc0f381e84ef8c3f9aa32c6681f5b291dd Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Apr 07 2021 22:35:25 +0000 Subject: rules: reload sysctl settings when the bridge module is loaded Related: #1523227 patch_name: 0009-rules-reload-sysctl-settings-when-the-bridge-module-.patch present_in_specfile: true location_in_specfile: 9 squash_commits: true --- diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules index 8231caa..556a3a3 100644 --- a/rules/40-redhat.rules +++ b/rules/40-redhat.rules @@ -5,3 +5,6 @@ SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online} # Memory hotadd request SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online" + +# reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded +ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"