diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2018-11-01 22:35:26 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-12-12 10:28:43 +0000 |
commit | af0c5a1160198fde8a79b956a4c665dc574cc466 (patch) | |
tree | 3a3ca1bdb7bc4ace085af73fc0f576e9b15d5479 | |
parent | b44d8d0f2de8fb35e98d5d171afd00945fc5036c (diff) | |
download | sos-af0c5a1160198fde8a79b956a4c665dc574cc466.tar.gz |
[firewalld] collect nftables ruleset
Collect "nft list ruleset".
Resolves: #1470
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/firewalld.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/plugins/firewalld.py b/sos/plugins/firewalld.py index 51dd475c..7185b5d4 100644 --- a/sos/plugins/firewalld.py +++ b/sos/plugins/firewalld.py @@ -32,6 +32,9 @@ class FirewallD(Plugin, RedHatPlugin): "/var/log/firewalld", ]) + # collect nftables ruleset + self.add_cmd_output("nft list ruleset") + # use a 10s timeout to workaround dbus problems in # docker containers. self.add_cmd_output([ |