Bug 1368625 - Trying to get the description for a firewalld zone from command line throws error and prints traceback information.
Summary: Trying to get the description for a firewalld zone from command line throws e...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1368949
TreeView+ depends on / blocked
 
Reported: 2016-08-20 06:55 UTC by Audrey Yeena Toskin
Modified: 2017-07-26 03:08 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
: 1368949 (view as bug list)
Environment:
Last Closed: 2017-07-26 03:08:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 :)


Note You need to log in before you can comment on or make changes to this bug.