How to validate firewalld xml configuration without reloading firewalld?
Issue
- What is the alternative for
xmlschema
check for latestfirewalld
? xmlschema
files disappeared fromfirewalld-0.6.3-2.el7
.firewall-cmd --reload
will always succeed regardless whether there are configuration errors in the new rule set.
Environment
- Red Hat Enterprise Linux (RHEL) 7
firewalld-0.5.3-2.el7
and above versions.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.