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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content