Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1125415 - freeipa-server-install doesn't handle IPv4 and IPv6 addresses for the same hostname
Summary: freeipa-server-install doesn't handle IPv4 and IPv6 addresses for the same ho...
Alias: None
Product: Fedora
Classification: Fedora
Component: freeipa
Version: 21
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1089262
TreeView+ depends on / blocked
Reported: 2014-07-31 18:49 UTC by Stephen Gallagher
Modified: 2014-11-25 03:06 UTC (History)
6 users (show)

Fixed In Version: freeipa-4.1.1-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-11-25 03:06:58 UTC
Type: Bug

Attachments (Terms of Use)

Description Stephen Gallagher 2014-07-31 18:49:42 UTC
Description of problem:
Attempting to run ipa-server-install on a system with both an IPv4 and an IPv6 address associated with the system's hostname throws an error stating that with more than one IP address, the --ip-address option must be provide.

From conversations on IRC, it seems that the primary reasons for this are to support adding the entry to DNS and to avoid dealing with multihomed machines, but this isn't really multi-homed.

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:

1. Set up a system with both IPv4 and IPv6 addresses (the latter can be link-local; it will still demonstrate the error)
2. Set the hostname of the system
3. Add 'myhostname' to the hosts: line in /etc/
4. Attempt to run 'ipa-server-install -U --setup-dns <arguments>'

Actual results:
Unattended installation fails, asking for the user to specify a single IP address.

Expected results:
The installer should proceed to completion.

Additional info:
The fix here should probably also filter out link-local addresses from the list.

Comment 1 Martin Kosek 2014-08-01 10:07:09 UTC
This issue was already reported in
I am moving to needs triage so that we can re-prioritize and expedite the fix.

Comment 2 Martin Kosek 2014-09-26 15:58:59 UTC
Fixed upstream
* 579b614e3f0501138d3fbb669cf6ae85adb3ac56 Detect and configure all usable IP addresses.

Comment 3 Fedora Update System 2014-10-23 08:32:27 UTC
freeipa-4.1.0-2.fc21 has been submitted as an update for Fedora 21.

Comment 4 Fedora Update System 2014-10-23 16:22:08 UTC
Package freeipa-4.1.0-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing freeipa-4.1.0-2.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-11-21 13:55:47 UTC
freeipa-4.1.1-2.fc21 has been submitted as an update for Fedora 21.

Comment 6 Fedora Update System 2014-11-25 03:06:58 UTC
freeipa-4.1.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.