[Freeipa-devel] [PATCH] 137 Improve ipa-replica-prepare DNS check

Martin Kosek mkosek at redhat.com
Tue Oct 4 12:37:05 UTC 2011


Currently, verify_fqdn() function raises RuntimeError for every
problem with the hostname. This makes it difficult for tools
like ipa-replica-prepare to behave differently for a subset of
raised errors (for example to be able to create a DNS record for
new replica when verify_fqdn() reports a lookup error).

Implement own exceptions for verify_fqdn() that they can be safely
used to distinguish the error type.

https://fedorahosted.org/freeipa/ticket/1899

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-137-improve-ipa-replica-prepare-dns-check.patch
Type: text/x-patch
Size: 10384 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111004/d0a9cad8/attachment.bin>


More information about the Freeipa-devel mailing list