Bug 1274961 - [Docs] Bad port (most likely missing protocol) in 6.1 Documentation firewall configuration
Summary: [Docs] Bad port (most likely missing protocol) in 6.1 Documentation firewall ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Docs Install Guide
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Peter Ondrejka
QA Contact: David O'Brien
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-24 05:57 UTC by Pradeep Kumar Surisetty
Modified: 2018-08-30 21:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-24 08:11:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pradeep Kumar Surisetty 2015-10-24 05:57:43 UTC
Description of problem:


In Below documentation needs a minor change while configuring firewall. 

https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html/Installation_Guide/sect-Red_Hat_Satellite-Installation_Guide-Prerequisites.html

Section: On a Red Hat Enterprise Linux 7 Satellite, execute as root:

------
Actual:

firewall-cmd --permanent --add-port="53/udp" --add-port="53/tcp" \
 --add-port="67/udp" --add-port="68/udp" \
 --add-port="69/udp" --add-port="80/tcp" \
 --add-port="443/tcp"--add-port="5647/tcp" \
 --add-port="8140/tcp" \
&& firewall-cmd --reload

Need to change to:


firewall-cmd --permanent --add-port="53/udp" --add-port="53/tcp" \
 --add-port="67/udp" --add-port="68/udp" \
 --add-port="69/udp" --add-port="80/tcp" \
 --add-port="443/tcp" --add-port="5647/tcp" \
 --add-port="8140/tcp" \
&& firewall-cmd --reload

------


Version-Release number of selected component (if applicable):


How reproducible:


root@ip-172-31-49-67: ~ # service firewalld start
Redirecting to /bin/systemctl start  firewalld.service
root@ip-172-31-49-67: ~ # firewall-cmd --permanent --add-port="53/udp" --add-port="53/tcp"  --add-port="67/udp" --add-port="68/udp"  --add-port="69/udp" --add-port="80/tcp"  --add-port="443/tcp"--add-port="5647/tcp"  --add-port="8140/tcp" && firewall-cmd --reload

bad port (most likely missing protocol), correct syntax is portid[-portid]/protocol





Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Andrew Dahms 2015-11-23 10:18:56 UTC
Assigning to Peter for review.

Peter - looks like a missing space between the two commands in ' --add-port="443/tcp"--add-port="5647/tcp" \'

Comment 2 Peter Ondrejka 2015-11-24 08:11:04 UTC
Hello Pradeep and Andrew,

The firewall section was reorganized in BZ#1221115. The missing space is no longer there.

Cheers


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