Blame SOURCES/sos-bz1644022-nftables-ruleset.patch

fce3c4
From af0c5a1160198fde8a79b956a4c665dc574cc466 Mon Sep 17 00:00:00 2001
fce3c4
From: Pavel Moravec <pmoravec@redhat.com>
fce3c4
Date: Thu, 1 Nov 2018 22:35:26 +0100
fce3c4
Subject: [PATCH] [firewalld] collect nftables ruleset
fce3c4
fce3c4
Collect "nft list ruleset".
fce3c4
fce3c4
Resolves: #1470
fce3c4
fce3c4
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
fce3c4
---
fce3c4
 sos/plugins/firewalld.py | 3 +++
fce3c4
 1 file changed, 3 insertions(+)
fce3c4
fce3c4
diff --git a/sos/plugins/firewalld.py b/sos/plugins/firewalld.py
fce3c4
index 51dd475c..7185b5d4 100644
fce3c4
--- a/sos/plugins/firewalld.py
fce3c4
+++ b/sos/plugins/firewalld.py
fce3c4
@@ -32,6 +32,9 @@ class FirewallD(Plugin, RedHatPlugin):
fce3c4
             "/var/log/firewalld",
fce3c4
         ])
fce3c4
 
fce3c4
+        # collect nftables ruleset
fce3c4
+        self.add_cmd_output("nft list ruleset")
fce3c4
+
fce3c4
         # use a 10s timeout to workaround dbus problems in
fce3c4
         # docker containers.
fce3c4
         self.add_cmd_output([
fce3c4
-- 
fce3c4
2.17.2
fce3c4