[SSSD] [PATCH] FO: Check server validity before setting status

Michal Židek mzidek at redhat.com
Thu Sep 13 10:08:17 UTC 2012


On 09/12/2012 07:50 PM, Jakub Hrozek wrote:
> Please see the attached patch. This is more of a band-aid, but the
> correct solution would be much more involved and is being tracked by
> #1522.
>
>
>
> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
>

ACK to the patch. This definitely minimizes the probability of
bad race condition scenario, but as Jakub mentioned, the
problem is not definitely solved and might occur if the 
be_fo_set_port_status function finishes the check and is
interrupted by some async request before fo_set_port_status
was called (and succesfully finished).

However, this is the best thing we have so far.

Michal



More information about the sssd-devel mailing list