Bug 1031349

Summary: Useless error message
Product: [Fedora] Fedora Reporter: Dmitry Moskowski <i.am.corpix>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jpopelka, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-18 11:02:43 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:

Description Dmitry Moskowski 2013-11-17 04:26:12 UTC
Description of problem:

There is some stupid error message "need more than 1 value to unpack"

Version-Release number of selected component (if applicable):
Name        : firewalld
Arch        : noarch
Version     : 0.2.12
Release     : 6.fc18

How reproducible:
[root@megatron ~]# firewall-cmd --permanent --zone=public --add-port=9830
need more than 1 value to unpack

Actual results:
Useless, annoying error message

Expected results:
Verbose error message, saying me: "hey, you have forgot to specify protocol in add-port statement! Example: 9830/tcp"

Comment 1 Jiri Popelka 2013-11-18 11:02:43 UTC
Should be fixed in firewalld-0.3.7-1.fc18 which has been in stable since 2013-11-06.