[Freeipa-devel] [PATCH] 021 Make the IPA installer IPv6 friendly

Jakub Hrozek jhrozek at redhat.com
Thu Dec 16 16:57:17 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/15/2010 10:55 AM, Jan Zelený wrote:
> Jakub Hrozek <jhrozek at redhat.com> wrote:
>> This is a first patch towards IPv6 support. Currently it only touches
>> the installer only as other changes will be fully testable only when
>> python-nss is IPv6 ready.
>>
>> Changes include:
>>  * parse AAAA records in dnsclient
>>  * also ask for AAAA records when verifying FQDN
>>  * do not use functions that are not IPv6 aware - notably
>>    socket.gethostbyname(). The complete list of functions was taken
>>    from http://www.akkadia.org/drepper/userapi-ipv6.html
>>    section "Interface Checklist"
> 
> Nack, the patch doesn't handle situations when host cannot be resolved.
> 
> Jan
> 

Thanks, it didn't handle the case in ipa-replica-install, now it should
catch the exception and return None (and the caller would react upon
getting None for the IP address).

In krbinstance.py it would still raise an exception, but I think that is
OK during instance creation (we surely don't want to print anything).
The user would see the error string, anyway..
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0KRO0ACgkQHsardTLnvCXAcQCfZgtSWyGo/gCOLPF0Imz0Ogu0
SnEAoOKsG5WTN38lRBr6mYIvDxXC8Vy4
=2QvT
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jhrozek-021-02-Make-the-IPA-installer-IPv6-friendly.patch
Type: text/x-patch
Size: 13842 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101216/37ac9bb1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jhrozek-021-02-Make-the-IPA-installer-IPv6-friendly.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101216/37ac9bb1/attachment.sig>


More information about the Freeipa-devel mailing list