Bug 1689429
Summary: | incorrect error reported for invalid rich rule priority | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Tomas Dolezal <todoleza> |
Component: | firewalld | Assignee: | Phil Sutter <psutter> |
Status: | CLOSED ERRATA | QA Contact: | Tomas Dolezal <todoleza> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | egarver, psutter, rkhan, todoleza |
Target Milestone: | pre-dev-freeze | Keywords: | Upstream |
Target Release: | 8.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | firewalld-0.8.2-2.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-04 01:39:57 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: |
Description
Tomas Dolezal
2019-03-15 21:41:09 UTC
PR opened upstream: https://github.com/firewalld/firewalld/pull/658 Upstream commit to backport: commit 3a0e79b1cfe4344d21d30eb47c038252d728cc44 Author: Phil Sutter <psutter> Date: Thu Jun 25 16:42:36 2020 +0200 fix: core: rich: Catch ValueError on non-numeric priority values Be a bit more user-friendly by printing: | Error: INVALID_RULE: invalid 'priority' attribute value 'ab'. instead of Python's default, which is: | Error: invalid literal for int() with base 10: 'ab' Fixes: rhbz 1689429 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (firewalld bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4461 |