#6014 Parser fails on incorrectly formatted /etc/hosts file
Closed: Duplicate None Opened 7 years ago by lryznaro.

When running integration tests, ipa-server-install fails with "list index out of range error". The error is caused by incorrectly formatted /etc/hosts file, but it should not cause parser to fail.

Example of the /etc/hosts file:

    10.34.78.1                        localmirror.domain.com localmirror
    2620:52:0:224e:21a:4aff:fe23:1238 localmirror.domain.com localmirror
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    10.34.48.31                       name.domain2.com
    2620:52:0:227f:21e:4fff:fe28:7da8 name.domain2.com

    2620:52:0:224e:21a:4aff:fe23:1373
    10.34.58.240 vm.ipadomain.com vm

Closing this ticket #6070 is the same issue.

Metadata Update from @lryznaro:
- Issue assigned to someone
- Issue set to the milestone: Future Releases

7 years ago

Login to comment on this ticket.

Metadata