[Freeipa-devel] [PATCH] 389 Fix ipa-restore on systems without IPA installed

Jan Cholasta jcholast at redhat.com
Tue Jan 13 10:54:17 UTC 2015


Dne 13.1.2015 v 10:46 Petr Vobornik napsal(a):
> On 01/12/2015 06:07 PM, Jan Cholasta wrote:
>> Hi,
>>
>> the attached patch fixes <https://fedorahosted.org/freeipa/ticket/4824>.
>>
>> Honza
>>
>
> Is there a reason why `installutils.check_server_configuration()
> ` is called in `cert_restore_prepare`, ie., method which is not really
> connected with it, and not in `run` as for DATA backup?

Full restore may be done when IPA is not installed, but 
cert_restore_prepare crashes when IPA is not installed, the check 
prevents that.

Anyway, see the attached patch for an alternative, possibly better approach.

-- 
Jan Cholasta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-389.1-Fix-ipa-restore-on-systems-without-IPA-installed.patch
Type: text/x-patch
Size: 1275 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150113/5d68a99b/attachment.bin>


More information about the Freeipa-devel mailing list