[Freeipa-devel] [PATCH] 12 When migrating warn user if compat is enabled

Ondrej Hamada ohamada at redhat.com
Tue Feb 28 13:22:41 UTC 2012


On 02/27/2012 09:47 PM, Rob Crittenden wrote:
> Ondrej Hamada wrote:
>> On 02/21/2012 02:32 PM, Ondrej Hamada wrote:
>>> On 02/20/2012 06:53 PM, Rob Crittenden wrote:
>>>> Ondrej Hamada wrote:
>>>>> https://fedorahosted.org/freeipa/ticket/2274
>>>>>
>>>>> Added check into migration plugin to warn user when compat is 
>>>>> enabled.
>>>>> If compat is enabled, the migration fails and user is warned that he
>>>>> must turn the compat off or run the script with (the newly 
>>>>> introduced)
>>>>> option '--compat'.
>>>>>
>>>>> '--compat' is just a flag, by default set to false. If it is set, the
>>>>> compat check is skipped.
>>>>>
>>>>
>>>> Interesting approach. I think this is probably good, preventing
>>>> migration when the compat plugin is enabled unless you specifically
>>>> decide to.
>>>>
>>>> I think the option may need another name, maybe --with-compat or
>>>> something.
>>>>
>>>> I think in the message we should use "enabled" instead of "on". That
>>>> is the language of ipa-compat-manage.
>>>>
>>>> The migration help should have a discussion of why this is a problem
>>>> too, and what compat really is (provides a different view of the data
>>>> to be compatible with non RFC2703bis systems).
>>>>
>>>> rob
>>> corrected
>>>
>>> Ondra
>>>
>>>
>>>
>>> _______________________________________________
>>> Freeipa-devel mailing list
>>> Freeipa-devel at redhat.com
>>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>> I forget to update the commit message about the change of flag name.
>> Corrected patch attached.
>>
>
> This works ok it just seems to be making an assumption on the client 
> when to print this. I think a similar value like enabled needs to be 
> created to explicitly say why we are returning.
>
> rob
sorry for that, value created

Ondra

-- 
Regards,

Ondrej Hamada
FreeIPA team
jabber: ohama at jabbim.cz
IRC: ohamada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-ohamada-12-4-Migration-warning-when-compat-enabled.patch
Type: text/x-patch
Size: 7371 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120228/8289ddfb/attachment.bin>


More information about the Freeipa-devel mailing list