From Fedora Project Wiki
(split the steps up a bit more for clarity) |
(make results order match actions order) |
||
Line 14: | Line 14: | ||
# If possible, try to connect to a port or running service from another system on the local network | # If possible, try to connect to a port or running service from another system on the local network | ||
|results= | |results= | ||
# {{command|firewall-cmd --state}} should report {{code|not running}} | |||
# No {{code|REJECT}} rules should be present in the {{command|iptables -L -v}} output | # No {{code|REJECT}} rules should be present in the {{command|iptables -L -v}} output | ||
# Connecting to any running service from other systems should work (so long as no other firewalls or similar are in the way) | # Connecting to any running service from other systems should work (so long as no other firewalls or similar are in the way) | ||
}} | }} | ||
[[Category:Kickstart_test_cases]] | [[Category:Kickstart_test_cases]] |
Latest revision as of 21:06, 23 March 2016
Description
This test case tests whether disabling the firewall works correctly in a kickstart-driven installation.
Setup
- Prepare a test system (virtual or real) with sufficient memory to install Fedora, an empty hard disk (or such that you do not mind losing the contents of all connected hard disks: this test WILL wipe all hard disks connected to the test system), and (ideally) a network connection and another system from which you can connect to the test system
How to test
- Boot using a dedicated installer image for the Fedora release you wish to test
- At the boot menu, edit the options for one of the "Install Fedora" options to include the parameter inst.ks=http://fedorapeople.org/groups/qa/kickstarts/firewall-disabled-net.ks
- The installation should run unattended: allow it to complete
- Boot the installed system and log in as 'root' with password 'anaconda'
- Run
firewall-cmd --state
- Run
iptables -L -v
- If possible, try to connect to a port or running service from another system on the local network
Expected Results
firewall-cmd --state
should report not running- No REJECT rules should be present in the
iptables -L -v
output - Connecting to any running service from other systems should work (so long as no other firewalls or similar are in the way)