Bug 1274961

Summary: [Docs] Bad port (most likely missing protocol) in 6.1 Documentation firewall configuration
Product: Red Hat Satellite Reporter: Pradeep Kumar Surisetty <psuriset>
Component: Docs Install GuideAssignee: Peter Ondrejka <pondrejk>
Status: CLOSED NOTABUG QA Contact: David O'Brien <daobrien>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.1CC: adahms, bbuckingham
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-24 08:11:04 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 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