[Freeipa-devel] [PATCH] 0070 Fix updating minimum_connections in ipa-upgradeconfig

Petr Spacek pspacek at redhat.com
Thu Jul 19 09:55:32 UTC 2012


On 07/18/2012 09:45 PM, Rob Crittenden wrote:
> Petr Viktorin wrote:
>> minimum_connections was sometimes not updated properly on install
>> because the script set psearch on but assumed it was still off.
>> Also, the number of connections was not set if the directive was missing.
>>
>> Fix of the patch for https://fedorahosted.org/freeipa/ticket/2554
>
> Your changes look good but I found perhaps another bug. I think Petr Spacek
> may need to chime in on this part.
>
> If you start out with serial_autoincrement yes and psearch undefined and
> connections undefined the result is:
>
> connections 2
>
> There is a comment in the code that connections needs to be 4 for
> autoincrement. I believe psearch needs to be enabled for autoincrement. I'm
> not sure how much sanity checking we want to do, mostly I'm curious if things
> will blow up with connections 2 and no psearch and autoincrement.

In that case named refuses to start with an error message.

I want to change configuration semantics to fail-with-error (rather than 
partial auto-correcting).
Some configuration errors can't be corrected automatically and failure should 
wake-up admins and force them to correct configuration.

Petr^2 Spacek

>
> rob





More information about the Freeipa-devel mailing list