URL:
https://github.com/freeipa/freeipa/pull/1722
Author: m3gat0nn4ge
Title: #1722: REDO: Fix installer CA port check to include 8080
Action: opened
PR body:
"""
component: installer - CA
The installer was not checking the availability of port 8080, cainstance.check_port()
function has been renamed to cainstance.check_ports() and updated to check for port 8080
also.
The ipautil.host_port_open() function was being used incorrectly to test for a free port,
I have added a new ipautil.host_port_free() function based on host_port_open() with
different logic.
cainstance.check_port() now calls ipautil.host_port_free() instead of negating the result
from ipautil.host_port_open().
https://pagure.io/freeipa/issue/7415
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1722/head:pr1722
git checkout pr1722