[freeipa PR#5749][opened] ipatests: define localhost4 and localhost6 in /etc/hosts
by flo-renaud
URL: https://github.com/freeipa/freeipa/pull/5749
Author: flo-renaud
Title: #5749: ipatests: define localhost4 and localhost6 in /etc/hosts
Action: opened
PR body:
"""
The /etc/hosts file currently defines the following:
127.0.0.1 localhost
::1 localhost
but pki defines AJP connectors using localhost4 and localhost6:
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" address="localhost4" name="Connector1" secret="..."/>
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" address="localhost6" name="Connector2" secret="..."/>
(since commit 1906afbeb3c8b7140601be7f9bee2f7fef5b0a5e, in order to fix
rhbz#1780082)
Configure /etc/hosts with the following instead:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Signed-off-by: Florence Blanc-Renaud <flo(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5749/head:pr5749
git checkout pr5749
2 years, 4 months