How to validate firewalld xml configuration without reloading firewalld?

Solution Verified - Updated -

Issue

  • What is the alternative for xmlschema check for latest firewalld?
  • xmlschema files disappeared from firewalld-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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In