diff options
author | jbainbri <jbainbri@redhat.com> | 2014-07-30 12:54:46 +1000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-07-31 17:53:43 +0100 |
commit | c8ec7041ba13edd7d62a08da6210d6e85554d0c2 (patch) | |
tree | 51fd84791500128c4f300b1fe74701915d8ccbb1 | |
parent | 5607340d42f1bc556dd8835d51ceae45e5f1400b (diff) | |
download | sos-c8ec7041ba13edd7d62a08da6210d6e85554d0c2.tar.gz |
Collect local FirewallD XML config
FirewallD looks for config files for icmptypes, zones, and services in /etc/firewalld/ and if none are found, falls back to /usr/lib/firewalld/. This way, changes made on the system are stored under /etc which overrides the default.
-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 8ec9b2a4..5bd1a5cb 100644 --- a/sos/plugins/firewalld.py +++ b/sos/plugins/firewalld.py @@ -27,6 +27,9 @@ class FirewallD(Plugin, RedHatPlugin): def setup(self): self.add_copy_specs([ "/etc/firewalld/firewalld.conf", + "/etc/firewalld/icmptypes/*.xml", + "/etc/firewalld/services/*.xml", + "/etc/firewalld/zones/*.xml", "/etc/sysconfig/firewalld" ]) |