From ebcdf51b6f60fb387d03ed14ca8f8d3312a1b81c Mon Sep 17 00:00:00 2001 From: zhanghao Date: Tue, 28 Nov 2023 22:48:15 +0800 Subject: [PATCH] Firewall startup is to set CleanupModuleOnxit=yes (cherry picked from commit 2773ca15c511850b0695958276a68e28b48ad367) --- firewalld.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/firewalld.spec b/firewalld.spec index 522ec7a..d8376a1 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,6 +1,6 @@ Name: firewalld Version: 1.0.2 -Release: 6 +Release: 7 Summary: A firewall daemon with D-Bus interface providing a dynamic firewall License: GPLv2+ URL: http://www.firewalld.org @@ -155,6 +155,7 @@ if [ ! -e %{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.policy ]; th esac fi +sed -i "s/CleanupModulesOnExit=no/CleanupModulesOnExit=yes/g" %{_sysconfdir}/firewalld/firewalld.conf %files -f %{name}.lang %doc COPYING README @@ -240,6 +241,13 @@ fi %{_datadir}/firewalld/testsuite/python/firewalld_test.py %changelog +* Tue Nov 28 2023 zhanghao - 1.0.2-7 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:Firewall startup is to set CleanupModuleOnxit=yes to unload + related ko when stopping firewalld service + * Tue Sep 26 2023 zhanghao - 1.0.2-6 - Type:bugfix - ID:NA -- Gitee