[Freeipa-devel] [PATCH] 1037 optimize restoring SELinux booleans

Rob Crittenden rcritten at redhat.com
Mon Oct 1 19:29:49 UTC 2012


Petr Viktorin wrote:
> On 10/01/2012 04:41 PM, Rob Crittenden wrote:
>> The web uninstall step can be very long because we restore two SELinux
>> booleans individually. This patch combines them into a single step, and
>> skips setting them if the values won't actually change.
>>
>> rob
>>
>>
>
> Is there a reason to not reuse the code that sets the values on install?
> As far as I can tell it does the same thing slightly differently.
>

The differences are enough that trying to consolidate them would likely 
end up taking considerable more time, require considerable more testing, 
etc. It would be worthwhile to revisit this at the beginning of a new 
version, but at the end it seems safer to take the simplest route.

rob




More information about the Freeipa-devel mailing list