Bug 1091575 - typos in man firewalld.zone(5) structure for rule tag
Summary: typos in man firewalld.zone(5) structure for rule tag
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 19
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-26 01:51 UTC by Patrick Sefton
Modified: 2014-06-19 22:58 UTC (History)
2 users (show)

Fixed In Version: firewalld-0.3.10-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-19 22:58:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Patrick Sefton 2014-04-26 01:51:54 UTC
Description of problem:
In man 5 firewalld.zone, typos in rule section:
- "general rule structure" has superfluous "/" at end of opening rule tag;
- "rule structure for source black or white listing" has same error;
- error causes rule tag to be prematurely closed;
- following the documented structure in a zone file causes firewalld to fail to load the zone file;

Version-Release number of selected component (if applicable):
- firewalld.noarch-0.3.9.3-1.fc19

How reproducible:
- always

Steps to Reproduce:
- man 5 firewalld.zone
- use documented rule structure in zone file (eg, to blacklist a particular IP)

Actual results:

- following the given structure yields zone file rules like:
<rule family="ipv4"/> <source address="11.11.22.22"/> <drop/> </rule>

- which fails to load, with journals like
firewalld[30037]: 2014-04-26 11:05:39 ERROR: INVALID_RULE: no element, no action: rule family="ipv4"
firewalld[30037]: 2014-04-26 11:05:39 ERROR: Invalid rule: Action outside of rule
firewalld[30037]: 2014-04-26 11:05:39 ERROR: Failed to load zone file '/etc/firewalld/zones/public.xml':

Expected results:
- zone file loads and source address is blacklisted

Additional info:
- works correctly once superfluous "/" is deleted from initial rule tag
- typo in man documentation

Comment 2 Fedora Update System 2014-05-29 09:08:53 UTC
firewalld-0.3.10-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/firewalld-0.3.10-1.fc20

Comment 3 Fedora Update System 2014-05-29 23:23:39 UTC
Package firewalld-0.3.10-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing firewalld-0.3.10-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6834/firewalld-0.3.10-1.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-06-19 22:58:49 UTC
firewalld-0.3.10-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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