Firewalld overwrites the existing .xml with new .xml after enabling Log Denied Options

Solution Verified - Updated -

Issue

  • Adding logging for reject/drop connection is deleting firewalld rules.
  • firewalld changes the behaviours after executing --set-log-denied=all.
  • firewalld replacing old rules once logging is enabled.

Environment

  • Red Hat Enterprise Linux 7.4 (RHEL 7.4)
  • firewalld-0.4.4.4

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.