#6070 ipa-replica-install fails to install when resolv.conf incomplete entries
Closed: fixed 7 years ago Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1353841

Description of problem:
If you have wrong or incomplete entries in /etc/resolv.conf,
ipa-replica-install fails with Stack trace.

Version-Release number of selected component (if applicable):
ipa-server-4.4.0-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Edit resolve.conf to add incorrect entries
2. /usr/sbin/ipa-replica-install -U --setup-ca --setup-dns
--forwarder=10.68.5.26 --ip-address=10.65.211.136 -P admin -w Secret123

Actual results:
Error with stack trace - IndexError: list index out of range

Expected results:
ipa-replica-install should suggest user to edit resolv.conf or get DNS ip using
someother method or hide stack trace from user

fixed if e.g. python2-dns-1.15.0-1.fc24.noarch is used

We haven't bumped requirements

Metadata Update from @pvoborni:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 4.4.4

7 years ago

It was fixed in python-dns-1.13

Metadata Update from @mbasti:
- Issue close_status updated to: None

7 years ago

Metadata Update from @mbasti:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/642 (was: 0)

7 years ago

ipa-4-4:

  • 951d27e Bump python-dns to improve processing of non-complete resolv.conf

In 4.5 and above, we already require python-dns >= 1.15:

  • a291c6d DNS: URI records: bump python-dns requirements

Metadata Update from @tkrizek:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

7 years ago

Login to comment on this ticket.

Metadata