firewall-cmd --set-description command fails.

Solution Verified - Updated -

Issue

  • firewall-cmd --permanent --set-description= command fails with an error message.
Error: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/firewall/client.py", line 53, in handle_exceptions
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/firewall/client.py", line 441, in update
    self.fw_zone.update(tuple(settings.settings))
AttributeError: 'FirewallClientConfigZone' object has no attribute 'settings'
  • firewall-cmd --permanent --ipset="set-name" --set-description= sets the description to the default zone instead of ipset.

Environment

  • Red Hat Enterprise Linux 7 (RHEL).
  • firewalld-0.4.3.2-8.1.el7_3.2.noarch.

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