Bug 1368625

Summary: Trying to get the description for a firewalld zone from command line throws error and prints traceback information.
Product: [Fedora] Fedora Reporter: Audrey Yeena Toskin <audrey>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1368949 (view as bug list) Environment:
Last Closed: 2017-07-26 03:08:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1368949    

Description Audrey Yeena Toskin 2016-08-20 06:55:03 UTC
Trying to get the description for a zone using firewall-cmd exits with status code 1, and prints an error message:

↪  sudo firewall-cmd --permanent --zone=public --get-description
Traceback (most recent call last):
  File "/bin/firewall-cmd", line 1783, in <module>
    cmd.print_and_exit(settings.getDescription())
NameError: name 'settings' is not defined

The syntax for this command matches the example given in the man page, so this is either a bug in firewall-cmd, or in the way it's packaged. Right?

The equivalent command using the newer CLI utility (`sudo firewallctl zone public get description`) works as it should, however.

I'm testing with firewalld 0.4.3.3, both on Fedora 24 Cloud Base and Fedora 24 Workstation. (Fedora Cloud is a guest in virt-manager 1.4.0 on my host Fedora Workstation desktop.)

Comment 2 Fedora End Of Life 2017-07-25 22:31:53 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Audrey Yeena Toskin 2017-07-26 03:08:49 UTC
Oh, I probably could have closed this a long time ago :)